# app
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
## 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)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) 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](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) 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](https://vitejs.dev/config/).
## Project Setup
```sh
pnpm install
```
### Compile and Hot-Reload for Development
```sh
pnpm dev
```
### Type-Check, Compile and Minify for Production
```sh
pnpm build
```
### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
pnpm test:unit
```
没有合适的资源?快使用搜索试试~ 我知道了~
基于naive-ui封装的一些组件库,表单、上传、表格等
共95个文件
ts:24个
vue:22个
json:19个
2 下载量 173 浏览量
2023-12-06
10:27:20
上传
评论
收藏 221KB ZIP 举报
温馨提示
基于naive-ui封装的一些组件 navie-ui-form naive-ui-upload naive-ui-table
资源推荐
资源详情
资源评论
收起资源包目录
naive-ui-components-main.zip (95个子文件)
naive-ui-components-main
tsconfig.vitest.json 153B
.editorconfig 472B
.vscode
extensions.json 147B
tsconfig.node.json 321B
.github
workflows
deploy.yml 2KB
app
src
main.ts 514B
App.vue 321B
components
BasicForm.vue 151B
stores
counter.ts 306B
router
index.ts 728B
views
Editor.vue 303B
Table.vue 161B
Form.vue 6KB
Home.vue 467B
Upload.vue 956B
package.json 992B
public
favicon.ico 4KB
vite.config.ts 354B
index.html 324B
README.md 2KB
LICENSE 1KB
pnpm-workspace.yaml 68B
docs
naive-ui-form.md 23KB
naive-ui-editor.md 3KB
api-examples.md 907B
markdown-examples.md 1KB
components
BasicUpload.vue 701B
ModalForm.vue 1KB
SlotForm.vue 577B
useForm.vue 3KB
CustomForm.vue 581B
BasicForm.vue 2KB
NaiveUiEditor.vue 390B
DynamicForm.vue 635B
BasicTest.vue 199B
InstanceForm.vue 773B
package.json 391B
public
logo.svg 2KB
.vitepress
cache
deps
vue.js.map 93B
_metadata.json 2KB
package.json 23B
vitepress___@vue_devtools-api.js 5KB
@theme_index.js 16KB
vue.js 5KB
@theme_index.js.map 277KB
vitepress___@vue_devtools-api.js.map 9KB
config.mts 982B
naive-ui-upload.md 3KB
index.md 640B
components
naive-ui-editor
src
NaiveUiEditor.vue 1KB
utils
file.ts 4KB
types
index.ts 561B
hooks
useFile.ts 4KB
index.ts 1KB
package.json 1KB
vite.config.ts 727B
tsconfig.json 243B
README.md 2KB
index.ts 405B
naive-ui-upload
src
utils
index.ts 540B
types
index.ts 214B
NaiveUiUpload.vue 5KB
package.json 1KB
vite.config.ts 716B
tsconfig.json 243B
README.md 167B
index.ts 400B
naive-ui-table
src
NaiveUiTable.vue 101B
package.json 680B
vite.config.ts 367B
tsconfig.json 243B
README.md 2KB
index.ts 75B
naive-ui-form
src
ModalForm.vue 1KB
BasicForm.vue 10KB
utils
props.ts 1KB
types
index.ts 2KB
const
index.tsx 9KB
hooks
useForm.ts 1KB
package.json 1KB
vite.config.ts 735B
tsconfig.json 243B
README.md 188B
index.ts 593B
package.json 2KB
pnpm-lock.yaml 262KB
vitest.config.ts 378B
.prettierrc.json 163B
env.d.ts 38B
tsconfig.app.json 385B
.eslintrc.cjs 392B
vite.config.ts 354B
.gitignore 346B
tsconfig.json 191B
README.md 198B
共 95 条
- 1
资源评论
十小大
- 粉丝: 1w+
- 资源: 1528
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功