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! […]
Last week the new website for Routify was published, which now has a blog. You can read the announcement about the 1.5 release here. Within the Routify project, I am taking on various roles that don’t have too much to do with the coding of the project itself: design for the documentation website, promoting Routify […]
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.