A minimalist starter template for small Vue.js projects using Bun as the JavaScript runtime and package manager.
ā ļø Important: This template is recommended for small projects that don't require SEO. For large-scale applications, consider using Nuxt.js instead.
# Clone the repository
git clone <repository-url>
# Navigate to project directory
cd <project-name>
# Install dependencies
bun install
Initialize shadcn-vue:
npx shadcn-vue@latest init
Follow the initialization prompts for components.json
:
# Start development server
bun run dev
# Build for production
bun run build
# Preview production build
bun run preview
Install shadcn-vue components:
npx shadcn-vue@latest add button
Usage example:
<script setup lang="ts">
import { Button } from '@/components/ui/button'
</script>
<template>
<Button>Click me</Button>
</template>
āāā src/
ā āāā assets/
ā ā āāā index.css
ā āāā components/
ā ā āāā ui/
ā āāā lib/
ā ā āāā utils.ts
ā āāā App.vue
ā āāā main.ts
āāā components.json
āāā tailwind.config.js
āāā tsconfig.json
āāā vite.config.ts
This template is optimized for:
MIT
š Note: For projects requiring SEO, server-side rendering, or more complex architecture, we recommend using Nuxt.js.
Contributions are welcome! Please feel free to submit a Pull Request.