A vite template for svelte.
Configured with jest, eslint, prettier, husky, postcss, tailwind, and rollup for production builds. Also with CI build on Github (you can safely remove it).
To use this template:
npx degit minetower/svelte-vite-template path/to/dir
cd path/to/dir
yarn installor use as template from Github.
Runs the app in the development mode. Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Runs jest on all *.test.js files. Not works properly now.
Runs eslint and prettier on all files.
Formats all files according to rules defined in .eslintrc.yaml and .prettierrc.yaml.
Builds a static copy of your site to the build/ folder. Your app is ready to be deployed!