npx degit plrenaudin/last-boilerplate myAwesomeProject
cd myAwesomeProject
npm i
npm run dev
Then in another terminal run vc dev
for Vercel support
- Coding: Svelte
- Formatting: Prettier
- Linting: Eslint
- Bundling: Rollup
- Styling: Tailwindcss
- Testing: Jest
- Deploying: Now (Zeit)
- Staged code linted and formatted on commit (husky pre-commit + lint staged)
- For svelte files too (thanks to eslint-plugin-svelte3 and prettier-plugin-svelte)
- Most of the config in one place (package.json)
- Focus on code (reduced as much noise as possible)
- Frontend code located in the
/src
folder - API code located in the
/api
folder
- Frontend code located in the
For improved developer experience, install Svelte (jamesbirtles.svelte-vscode) and Prettier (esbenp.prettier-vscode) Extensions