深麻文书编辑器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
shengwen.chen 1e72f12edb
feat: 项目初始化
2 months ago
.vscode feat: 项目初始化 2 months ago
public feat: 项目初始化 2 months ago
src feat: 项目初始化 2 months ago
.editorconfig feat: 项目初始化 2 months ago
.eslintrc.js feat: 项目初始化 2 months ago
.gitattributes feat: 项目初始化 2 months ago
.gitignore feat: 项目初始化 2 months ago
.prettierrc.json feat: 项目初始化 2 months ago
README.md feat: 项目初始化 2 months ago
env.d.ts feat: 项目初始化 2 months ago
eslint.config.ts feat: 项目初始化 2 months ago
index.html feat: 项目初始化 2 months ago
package-lock.json feat: 项目初始化 2 months ago
package.json feat: 项目初始化 2 months ago
postcss.config.js feat: 项目初始化 2 months ago
tailwind.config.js feat: 项目初始化 2 months ago
tsconfig.app.json feat: 项目初始化 2 months ago
tsconfig.json feat: 项目初始化 2 months ago
tsconfig.node.json feat: 项目初始化 2 months ago
tsconfig.vitest.json feat: 项目初始化 2 months ago
vite.config.ts feat: 项目初始化 2 months ago
vitest.config.ts feat: 项目初始化 2 months ago

README.md

SMDocEditor

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

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.

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

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint