Skip to content

jiaxiantao/CXJ-project

Repository files navigation

Vue3 TS[X] 模版

IDE 推荐配置

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

为了能够使 ts 支持.vue 文件 ,请按照下面的 steps 配置 vscode

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.

feature

  • 集成tailwindcss
  • 支持 rem 适配,设计稿尺寸 750px
  • 支持 jsx、tsx;详情:Vite JSX support
  • 跨端网络请求库 nethub
  • 代码格式化,代码提交检测

使用方式

fork

About

蔡晓锦课设

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published