In order to easily setup this example:
- Use vscode.
- Install this plugin: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
- Ctrl+Shift+P then write: "Live server: Open with Live Server"
To turn Scss files into CSS:
We have two scripts in package.json
file, you can use both of them but preferably use sass-dev
during development (it contains watch mode).