npx degit https://github.com/nelwincatalogo/vite-swc-ts-tailwind#main my-project
cd my-project
yarn
yarn dev
yarn dev
ornpm run dev
: Starts the development serveryarn build
ornpm run build
: Builds the appyarn preview
ornpm run preview
: Runs the built app in production
yarn lint:check
ornpm run lint:check
: Check lint errorsyarn lint:fix
ornpm run lint:fix
: Fixes lint errors
If commit fails, run:
yarn lint:fix # OR npm run lint:fix
-
TypeScript Support
-
Linting
- prettier
- eslint-config-prettier
- eslint-plugin-prettier
- eslint-plugin-tailwindcss
-
Lint on pre-commit
-
env configs dev and prod
-
axios default instance configured
-
Default Font [Poppins, Inter]
-
Option+Right Click - in your browser to open the source in your editor.
-
PullState - State Management
-
Shadcn Sonner - Toaster
-
react-helmet-async - SEO
-
No consoles in production