Interactive/pkg/views
LittleSheep 920492d5a6 Deletable realm
🐛 Fix data won't reload after go to another realm
2024-03-19 22:52:38 +08:00
..
.vscode 🎉 Reinital Commit 2024-03-02 12:29:16 +08:00
public 🍱 Fix favicon 2024-03-18 19:54:57 +08:00
src Deletable realm 2024-03-19 22:52:38 +08:00
.eslintrc.cjs More places will show menu 2024-03-19 20:35:05 +08:00
.gitignore 🗑️ Remove trash files 2024-03-10 23:36:29 +08:00
.prettierrc.json 🎉 Reinital Commit 2024-03-02 12:29:16 +08:00
embed.go ♻️ Brand new post list 2024-03-02 20:01:59 +08:00
env.d.ts 🎉 Reinital Commit 2024-03-02 12:29:16 +08:00
index.html Realm list 2024-03-17 22:08:33 +08:00
package.json Editable 2024-03-10 23:35:38 +08:00
README.md 🎉 Reinital Commit 2024-03-02 12:29:16 +08:00
tsconfig.app.json ♻️ Brand new post list 2024-03-02 20:01:59 +08:00
tsconfig.json 🎉 Reinital Commit 2024-03-02 12:29:16 +08:00
tsconfig.node.json 🎉 Reinital Commit 2024-03-02 12:29:16 +08:00
uno.config.ts New post editor basis 2024-03-02 21:40:09 +08:00
vite.config.ts ♻️ Brand new post list 2024-03-02 20:01:59 +08:00

views

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

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 TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint