No description
.vscode | ||
src | ||
.gitignore | ||
bun.lock | ||
env.d.ts | ||
index.html | ||
package.json | ||
README.md | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
banii-cafe
basic setup for my site, very messy and not finished yet
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Type Support for .vue
Imports in TS
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue
types.
Project Setup
bun install
Compile and Hot-Reload for Development
bun dev
Type-Check, Compile and Minify for Production
bun run build