Stylesheets and JavaScript

How to work with CSS and JS within Fabricator

Fabricator comes with little opinion about how you should architect your Stylesheets and JavaScript. Each use case is different, so it's up to you to define what works best.

Out of the box, you'll find a single .scss and .js file. These are the entry points for Sass compilation and Webpack respectively. It is recommended that you leverage the module importing features of each preprocessor to compile your toolkit down to a single .css and .js file. Practically speaking, you should be able to drop these two files into any application and have full access to your entire toolkit.