update bootstrap 4.3.1, update gulpfile, npm start script added, change SCSS file names for proper compiling
This commit is contained in:
@@ -29,12 +29,12 @@ To begin using this template, choose one of the following options to get started
|
||||
|
||||
## Usage
|
||||
|
||||
After installation, run `npm install` which will install all third party dependencies into your node modules folder. After this, run `gulp` which will compile the CSS and move some core dependencies into the vendor directory.
|
||||
After installation, run `npm install` and then run `npm start` which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the `gulpfile.js` to see which tasks are included with the dev environment.
|
||||
|
||||
### Gulp Tasks
|
||||
|
||||
- `gulp` the default task that builds everything
|
||||
- `gulp dev` browserSync opens the project in your default browser and live reloads when changes are made
|
||||
- `gulp watch` browserSync opens the project in your default browser and live reloads when changes are made
|
||||
- `gulp css` compiles SCSS files into CSS and minifies the compiled CSS
|
||||
- `gulp js` minifies the themes JS file
|
||||
- `gulp vendor` copies dependencies from node_modules to the vendor directory
|
||||
|
||||
Reference in New Issue
Block a user