sqhtml
Base to start projects in HTML, simply and quickly.
Requirements
Installation
-
Open a terminal at the root of your project
-
Optional step: run the following command in a terminal if your project
is completely empty or presents location errors upon installation.
npm init
-
Execute
npm i sqhtml
npm explore sisass -- npm run init -- --dep sqhtml
-
Rename the gitignore file
mv gitignore .gitignore
Server
To run the site if you don't have a configured localhost, run the following command:
nodemon --ext html,js,css,scss ./config/serve.js
In another terminal, run the gulp task with the -browser parameter as follows:
gulp -browser
If you want the browser to refresh when you make changes, you can run the gulp command with the following parameter
gulp -browser -sync