Generate a SASS project with Gulp, Browser Sync, and CSS Autoprefixer.
- CSS Autoprefixing
- Built-in preview server with BrowserSync
- Automatically compile Sass
- Map compiled CSS to source stylesheets with source maps
- Creates and maintains a demo preview of your project
- Install dependencies:
npm install -g yo gulp
- Install the generator:
npm install -g generator-sass-gulp
Then generate your new project:
mkdir my-sass-project && cd $_
- Run
yo sass-gulp
to scaffold your project - Run
gulp serve
to preview and watch for changes - Run
gulp build
to build your project files for production
MIT © Osahan