Go to file
2024-02-29 14:37:37 -05:00
public Restructure with Vite 2024-02-28 19:56:03 -05:00
src Use Bun. Use hash mode in router 2024-02-28 20:21:49 -05:00
srv Allow cors from v2 2024-02-29 14:37:37 -05:00
.dockerignore Docker & Jenkins 2024-02-29 09:14:57 -05:00
.gitignore Restructure with Vite 2024-02-28 19:56:03 -05:00
db_backup.sql Fix deps pt.2 2023-10-27 07:20:18 -05:00
Dockerfile Update Docker & Jenkins for node usage 2024-02-29 10:57:18 -05:00
env.d.ts Restructure with Vite 2024-02-28 19:56:03 -05:00
index.html Restructure with Vite 2024-02-28 19:56:03 -05:00
Jenkinsfile jenkins 2024-02-29 10:59:33 -05:00
package.json Remove Bun & use Node again 2024-02-29 10:33:47 -05:00
pnpm-lock.yaml Remove Bun & use Node again 2024-02-29 10:33:47 -05:00
README.md Restructure with Vite 2024-02-28 19:56:03 -05:00
tsconfig.config.json Restructure with Vite 2024-02-28 19:56:03 -05:00
tsconfig.json Remove Bun & use Node again 2024-02-29 10:33:47 -05:00
vite.config.ts Restructure with Vite 2024-02-28 19:56:03 -05:00

pseudosubs1-rewrite

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

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Type-Check, Compile and Minify for Production

pnpm build