Boilerplates to start simple vanilla projects using Vite.
Has Sass installed by default.
- Open your downloaded boilerplate in VSCode or other.
npm i
npm run dev
- Make sure to have your images, fonts, videos, ... in the
public folder
! - Make sure to specify all the
.html
invite.config.js
npm run build
npm run preview
If you want to host your website, use services like Vercel or Github Pages (+ build action)
- /vanilla-https-multipage: Vanilla example with multiple pages.
- /p5-global: Use global mode p5.js.
- /webcam: Use webcam in a vanilla canvas. Has https.
- /async-textinput: TextInput class example.
- /fetch: Fetch a local json file.