Documentations
SCSS / CSS
SCSS / CSS
Before customizing, you need to prepare the build tools that are used by Discoverize. Same like Bootstrap, Discoverize uses npm scripts for its build system. Discoverize also using Clean CSS, POST CSS and Browsersync. To use discoverize
build system and run locally, follow these steps and you should be ready to customize:
discoverize
files that you have downloaded./discoverize-html
directorynpm install
to install our local dependencies listed in package.json
.npm i -D postcss postcss-cli
to install POST CSSnpm install -g browser-sync
to install BrowsersyncOn your terminal, run (type + enter) npm start
to start the build tools. Open url http://localhost:3000/ in your browser to see the result.
Now, everytime you make changes to SCSS files, the build tools will automatically compile new CSS files, and put them into dist/assets/css
directory, and the css files will automatically updated to your browser.
To stop the build tool, press Ctrl + C on your terminal.