4
1
Fork
You've already forked website
0
Website for The Sappho Company
  • Vue 81.3%
  • CSS 11.2%
  • TypeScript 4.8%
  • HTML 1.6%
  • Dockerfile 1.1%
2024年04月02日 23:25:03 +01:00
.vscode Initial commit 2024年02月06日 19:30:13 +00:00
public Add sappho assets 2024年02月06日 20:28:22 +00:00
src Standardise indentation 2024年03月02日 21:37:49 +00:00
.dockerignore Dockerise 2024年02月16日 17:13:40 +00:00
.gitignore Initial commit 2024年02月06日 19:30:13 +00:00
bun.lockb Add bun lockfile 2024年04月02日 23:25:03 +01:00
Dockerfile Dockerise 2024年02月16日 17:13:40 +00:00
env.d.ts Initial commit 2024年02月06日 19:30:13 +00:00
index.html Standardise indentation 2024年03月02日 21:37:49 +00:00
LICENSE Initial commit 2024年02月06日 19:30:13 +00:00
nginx.conf Dockerise 2024年02月16日 17:13:40 +00:00
package-lock.json Use vue-router instead of plain anchor tags 2024年02月13日 23:25:34 +00:00
package.json Use vue-router instead of plain anchor tags 2024年02月13日 23:25:34 +00:00
README.md Initial commit 2024年02月06日 19:30:13 +00:00
tsconfig.app.json Standardise indentation 2024年03月02日 21:37:49 +00:00
tsconfig.json Initial commit 2024年02月06日 19:30:13 +00:00
tsconfig.node.json Standardise indentation 2024年03月02日 21:37:49 +00:00
vite.config.ts Standardise indentation 2024年03月02日 21:37:49 +00:00

website

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