Folder Structure
How folders are organized.
Root folder
The root folder contains the node_modules, public folder, src folder, Git informations, the postcss.config.js and the Webpack configs.
Overview.
Public folder
The public folder contains all the code which will later be publicly available.
Sample index.html for testing.
Assets folder.
CSS: Contains your compiled, minified (and purged) app.css.
Fonts: All fonts used in your _settings.scss.
Images: All images used in your app.js as well as all the favicons and icons.
JS: Contains your minified app.js.
Source folder
The source folder contains all the "working" code which will later be used for compilation via Webpack.
Overview of all folders.
Fonts: May contain fonts for testing and trying out. Define your final fonts in your _settings.scss.
Images: May contain collected images for testing and trying out. To define them for layout usage, set them up in your app.js. In the images folder you can also build your own icon set in the icons directory.
JS: This folder contains one of the most important files: app.js.
SCSS folder
The scss folder contains the heart of the project. The folder has been split into several parts following the ITCSS file organisation principle.
Overview.
1-settings: Contains the _settings.scss. This file handles nearly everything.
2-tools: Directory for mixins and functions. No code is generated here.
3-generic: Reset and/or normalize styles, box-sizing definition etc. First layer to actually generate CSS.
4-elements: Styling for bare HTML elements like headlines, buttons and links, as well as custom hover and focus effects.
5-components: Specific UI components, blocks and third-party styles.
6-templates: Code for specific templates or pages, e.g. custom front page.
7-utilities: Low-level utility classes dynamically generated based on your preferences in _settings.scss.
8-trumps: Styles overwriting all, e.g. debugging styles, separate print styles.
app.scss: Everything comes together here. All subfolders are defined in this file.