Vite boilerplate to build MPA/static websites
Use dart-sass to style your products and save files each component folders which are under scss folder. Save main JS files to "main" under js folder. For some features, make new js files under "library folder".
Clone files to your direction $ git clone URL
- pnpm need to be installed
To use npm or yarn, change "pnpm" in package.json > scripts to "npm".
node modules installation
$pnpm install
dev: development mode
$ pnpm dev
build: build mode
$ pnpm build
No specification
Masaknd: @Masaknd_dsgn
-
bug detected Problem: inconsistency of the result of running dev mode and build details: running dev mode doesn't compile scss link directory to css on html thus changes are not reflected on HRM
- See commit change or See release history
-
bug fixed The problem above was solved by fixing "vite.config.js", also customized index.js and scss root src vitejs/vite#4556
Inspiration, code snippets, etc.