A Vue 3 TypeScript application template based on Sakai and PrimeVue, using Bun as the package manager.
- Bun version 1.0.0 or higher
- Node.js version 18.0.0 or higher
First, install Bun if you haven't already:
curl -fsSL https://bun.sh/install | bash
Then, install the project dependencies:
bun install
Before starting development, update the project details in package.json
:
{
"name": "your-project-name",
"version": "1.0.0",
"type": "module"
}
Also update the title in index.html
to match your project name:
<title>Your Project Name</title>
There are two ways to update dependencies:
- Using npm-check-updates:
# Install npm-check-updates globally
bun add -g npm-check-updates
# Check for possible updates
ncu
# Apply the updates to package.json
ncu -u
# Install the updated dependencies
bun install
- Using the built-in update script:
# Update dependencies based on installed Bun packages
bun run update-deps
To start the development server:
bun run dev
To build for production:
bun run build
To preview the production build:
bun run preview
bun run type-check
bun run lint
The template is built with:
Visit the documentation to learn more about the template features.