没有合适的资源?快使用搜索试试~ 我知道了~
vite-best-template::vulcan_salute:实施vite + vue3 + TypeScript最佳项目...
共56个文件
ts:24个
vue:6个
js:5个
需积分: 16 0 下载量 5 浏览量
2021-04-23
02:32:15
上传
评论
收藏 83KB ZIP 举报
温馨提示
Vue 3 +打字稿+ Vite 该模板将帮助您开始在Vite中使用Vue 3和Typescript进行开发。 推荐的IDE设置 + 。 确保在设置中启用vetur.experimental.templateInterpolationService ! 如果使用[removed] 是当前处于RFC阶段的功能。 要获得语法的正确IDE支持,请使用而不是Vetur(并禁用Vetur)。 TS中.vue导入的类型支持 由于TypeScript无法处理.vue导入的类型信息,因此默认情况下将它们.vue为通用Vue组件类型。 在大多数情况下,如果您真的不在乎模板之外的组件prop类型,那么这很好。 但是,如果您希望在.vue导入中获取实际的道具类型(例如,在使用手动h(...)调用时获取道具验证),则可以使用以下代码: 如果使用手掌 运行Volar: Switch TS Plug
资源推荐
资源详情
资源评论
收起资源包目录
vite-best-template-main.zip (56个子文件)
vite-best-template-main
index.html 337B
.github
workflows
publish.yml 1KB
postcss.config.js 60B
public
favicon.ico 4KB
commitlint.config.js 702B
.browserslistrc 35B
.eslintrc.js 743B
.env.prod 116B
src
main.ts 439B
services
index.ts 259B
services.auto.ts 7KB
utils
index.ts 76B
watcher.ts 1KB
axios.ts 2KB
store
index.ts 487B
example
mutations.ts 339B
index.ts 364B
actions.ts 375B
getters.ts 239B
views
Home
index.vue 653B
SetupLayout
index.vue 639B
mockProdService.ts 291B
components
layout
HelloWorld.vue 2KB
404.vue 383B
HelloWorld-setup.vue 1KB
App.vue 784B
types
shims-vue.d.ts 139B
typing.d.ts 4KB
modules.d.ts 163B
typing.store.d.ts 131B
assets
styles
variables.scss 623B
index.scss 947B
element-ui.scss 684B
transition.scss 714B
mixin.scss 384B
images
logo.png 7KB
hooks
index.ts 93B
useStore.ts 150B
useEventBus.ts 250B
useProjectService.ts 417B
routes
index.ts 691B
.env.dev 111B
babel.config.js 154B
vite.config.ts 550B
swagger-serveces-api.json 22KB
tsconfig.json 458B
LICENSE 1KB
README.md 2KB
mock
user.ts 358B
role.ts 1KB
prettier.config.js 191B
.editorconfig 197B
.gitignore 263B
.eslintignore 38B
package-lock.json 259KB
package.json 2KB
共 56 条
- 1
资源评论
机器好奇心
- 粉丝: 26
- 资源: 4598
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功