/buildless-static-site

An example of vanilla HTML, CSS, and JavaScript with zero build tooling

Primary LanguageHTML

Buildless Static Site

An example of vanilla HTML, CSS, and JavaScript (plus a Lit example) with zero build tooling, yet using a "modern" web development workflow courtesy of custom elements, CSS module scripts, and import maps.

View the Demo Site ➤

Read the Spicy Web Article ➤


To view this website locally, all you need is Node.

First, install dependencies:

$ npm i

Then, run the web server:

$ npm run dev

Bear in mind that the Node web server has nothing to do with the functioning of the website, it's strictly for demoing purposes. You could use a web server written in Ruby, Go, Rust, use Nginx or Apache, whatever. The static site files in the public folder require zero build tooling and can served from anywhere.