I'm interested in developing single-paged application and there are few question I need to get clarified before moving on. One of them is customizable theming implementations. As for traditional web applications, we could easily customize a page but since SPA is a bit more complex than that, what would be the best approach to handle such a scenario?

For an example say I have developed a single page application and a client wants me to further customize it so their customers feel a unique experience.

How can I respond to this request without having to change much of my application architecture? I would like to achieve this customizability just by changing a set of css files. What is the best approach for such a scenario?

  • 3
    CSS ==> Cascading Style Sheets – Robert Harvey Jul 27 '17 at 20:09
  • Yes, generally, do it with CSS. It really comes down to having a solid plan and naming conventions for how you use CSS, how you use classes, attributes, selectors. Look at WrapBootstrap.com (lots of other people building changeable themes there), BEM, Styled Components, for different ideas, old and new. – joshp Jul 27 '17 at 21:23
  • How about changing a set of css files ? This is easily done in javascript. – Amr Ayman Jul 29 '17 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.