A modern frontend boilerplate built with Vue 3, TypeScript, Tailwind CSS, and Shadcn Vue components.
git clone https://github.com/9ilfoyl3/vue3-ts-shad-boilerplate.git
cd vue3-ts-boilerplate
npm install
# or
yarn install
# or
pnpm install
Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
This will start the development server at http://localhost:6106
.
Build the application for production:
npm run build
# or
yarn build
# or
pnpm build
Preview the production build locally:
npm run preview
# or
yarn preview
# or
pnpm preview
vue3-ts-boilerplate/
โโโ public/ # Static assets
โโโ src/
โ โโโ assets/ # Project assets (images, fonts, etc.)
โ โโโ components/ # Vue components
โ โโโ layouts/ # Layout components
โ โโโ lib/ # Utility functions and libraries
โ โโโ router/ # Vue Router configuration
โ โโโ stores/ # Pinia stores
โ โโโ views/ # Page components
โ โโโ App.vue # Root component
โ โโโ main.ts # Application entry point
โโโ .eslintrc.js # ESLint configuration
โโโ .prettierrc # Prettier configuration
โโโ index.html # HTML template
โโโ package.json # Project dependencies and scripts
โโโ postcss.config.js # PostCSS configuration
โโโ tailwind.config.js # Tailwind CSS configuration
โโโ tsconfig.json # TypeScript configuration
โโโ vite.config.ts # Vite configuration
Run ESLint to check for code quality issues:
npm run lint
# or
yarn lint
# or
pnpm lint
Format your code with Prettier:
npm run format
# or
yarn format
# or
pnpm format
This project uses Husky to run pre-commit hooks that ensure code quality before committing:
You can customize the Tailwind configuration in tailwind.config.js
.
This project uses Shadcn Vue for UI components. You can add more components as needed following the # offiicial documentation offiicial documentation.