This is a template for TanStack Start + Mantine.
This template comes with the following features:
- PostCSS with mantine-postcss-preset
- CSS modules
- TypeScript
- Storybook
- Vitest setup with React Testing Library
- Vite+ unified toolchain: Vite, Vitest, Oxlint and Oxfmt are run with
vpand configured invite.config.mjs
The template works without any global installation: vp is installed as a dev dependency and all npm scripts use it.
Optionally, you can install the global vp CLI. It automatically switches to the Node.js version pinned in .node-version and lets you run commands directly, for example vp dev or vp check --fix instead of yarn vp check --fix.
dev– start development server on http://localhost:3000build– build production version of the appbuild:analyze– build the app and open client bundle size visualization (dist/stats.html)preview– locally preview production build
check– checks formatting, lint rules and TypeScript types withvp checkcheck:fix– same ascheck, fixes formatting and auto-fixable lint errorstypecheck– checks TypeScript typeslint– runs oxlint and stylelintformat:test– checks files with oxfmtvitest– runs vitest testsvitest:watch– starts vitest watchtest– runscheck,stylelint,vitestandbuildscripts
storybook– starts storybook dev serverstorybook:build– build production storybook bundle tostorybook-staticformat:write– formats all files with oxfmt