Interactive/pkg/views
LittleSheep 562af023f1 Realm posts mixed in feed
💩 The feed api didn't respect the visibility level
2024-03-25 19:40:43 +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 Realm posts mixed in feed 2024-03-25 19:40:43 +08:00
.eslintrc.cjs Invite accounts 2024-03-23 16:23:21 +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 Invite accounts 2024-03-23 16:23:21 +08:00
package.json Editable 2024-03-10 23:35:38 +08:00
README.md Invite accounts 2024-03-23 16:23:21 +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 Invite accounts 2024-03-23 16:23:21 +08:00
uno.config.ts Invite accounts 2024-03-23 16:23:21 +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