Skip to content

Office-of-Digital-Services/California-State-Web-Template-eleventy

Repository files navigation

California State Web Template (eleventy installation package)

This is the simple and lightweight California State Web Template version that is using eleventy framework for site generation.

Using npm to start the website locally

Use following npm commands to build and run the website locally:

npm install

This command will install all the nessesary npm packages to your local website directory.


npm run build

This command will build and generate website's pages, css and js files.


npm run start

This command will run the website in your http://localhost:8080/ and watch for any updates you are making to webpages or scss and js files.


Output

All the web content is generated into /_site/ folder, which is website's final output folder.