Here’s some step-by-step instructions on how to add a basic CSS setup to a Routify-powered project. Install the postcss plugin: Import it inside rollup.config.js: Reference it as a plugin: Import in main.js: Make sure to create the CSS folder under src And create the CSS file Now reference the correct file in __index.html: That’s it! […]
Note: this post is out of date since the 1.5 release of Routify. Here’s the code you will need. For package.json: For rollup.config.js For __dynamic.html and __bundle.html: Make sure to add an SCSS folder to the root of your project, with in this case a file called global.scss.