This starter kit implements native browser features for prototyping:
- Viget Modules for:
- Vanilla JS (now that the browser supports ESM modules)
- Lazy-loading scripts per component via dynamic imports
- Object-oriented, class-based pattern
- Regular ole' vanilla CSS
The intent is for this to be used with degit as a quick prototype kit. To grab a clean copy:
degit nathanlong/vite-vanilla my-new-project
cd
into your new prototype, then install Vite with:
npm install
Then have Vite spin up a local server:
npm run dev