$ git clone [email protected]:WDOTS/wdots-website.git
$ npm i
When server is running, you can access the website at http://localhost:9000
$ DEBUG=wdots npm run dev
$ set DEBUG=wdots npm run dev
$ npm run watch
$ npm start
- Add
yourname.htm
file to the/views
directory - Add
yourname.scss
file to the/styles
directory - You can access your new file by browsing to http://localhost/yourname
/views/index.htm
is special. This markup wraps the markup from the /views/*.htm
files. Effectively,
this means that the content of the page you are on will replace the {{{content}}}
tag in index.htm
.
So if you want the header and footer to appear on every page, you can put them in index.htm
.
Ensure code is fully linted before pushing
$ npm run lint -s