Zero-config Vite + EJS static site generator with hot module reloading and BrowserSync-powered dev server.
npm install @nordskill/ground-zeroground-zero) is a zero-config static site generator that wraps Vite, EJS templates, and modern CSS. Install it, run one command, and you get hot module reloading, BrowserSync mirroring, and production builds without writing any config files.
EJS → Vite build → CSS minify, so what you preview is what you ship.
src/pages/.ejs become HTML in dev-html/ (dev) or build/ (prod). Include partials from src/partials/.ejs. |
src/assets/js/main.js is injected via /@fs/ so you can import modules without fiddling with paths. |
gzero runs the dev loop (compile + Vite serve). gzero-build compiles, then minifies CSS with esbuild. |
.css files that use nesting, layers, imports, and variables—Vite handles the rest. |
<%# and %> is stripped out during compilation:
ejs
<%#
This entire block is removed from the output.
You can even put EJS tags here and they won't run:
<%- include('partials/example') %>
%>
`
This is useful for temporarily disabling sections of a template or leaving notes for yourself.
SVG icons
Put your .svg files in src/assets/icons/. Ground Zero automatically generates a sprite file and watches for changes during development.
To use icons in a template:
1. Include the sprite once per page (usually right after ):
`ejs
<%- include('../partials/svg-sprite') %>
`
2. Reference icons by filename using