Folder / File name | Description |
---|---|
Documentation | Folder contains file with link to this documentation. |
Createx | Folder contains all template source and production files. |
Createx / src | This folder holds all template source files like .pug, .scss, .js that are then processed (compiled / minified) to dist folder. |
Createx / dist | Folder contains all template distribution files like .html, .css, .js that have been processed (compiled / minified) from src folder using Node.js and Gulp. |
Createx / package.json | File contains meta data about your app or module. Most importantly, it includes the list of dependencies to install from npm when running npm install. |
Createx / gulpfile.js | Configuration file for Gulp library. It contains all tasks you want to perform with Gulp. Learn more about it from Working with Gulp section or official Gulp documentation. |
Createx / src / js | This folder contains main theme.js that is processed (compiled / minified) to dist/js/theme.min.js . |
Createx / src / scss | This folder contains all project sass files that are compiled and minified to styles in dist/css/ folder. |
Createx / src / templates | This folder contains all pug files that are compiled into HTML in dist , dist/components and dist/docs folders. |
Createx / src / vendor | This folder contains all vendor (plugins, font icons, libraries) .js / .css files that are compressed and concatinated into single vendor.min.js and vendor.min.css files respectively and put into dist folder. |
Whether you work with Node.js and Gulp or not you can still take advantage of preprocessors for HTML and CSS.
In this case you might want to learn how to use Pug and Sass.