下载资源前端资源详情
vue3+ts框架.zip
大小:2.13MB
价格:28积分
下载量:0
评分:
5.0
上传者:m0_67475286
更新日期:2024-08-02

vue3+ts项目框架

资源文件列表(大概)

文件名
大小
vite.config.ts
1.42KB
__MACOSX/._vite.config.ts
219B
tsconfig.node.json
213B
__MACOSX/._tsconfig.node.json
176B
tsconfig.json
936B
__MACOSX/._tsconfig.json
219B
src/
-
__MACOSX/._src
176B
src/App.vue
113B
__MACOSX/src/._App.vue
176B
src/main.ts
840B
__MACOSX/src/._main.ts
176B
src/utils/
-
__MACOSX/src/._utils
176B
src/style/
-
__MACOSX/src/._style
176B
src/components/
-
__MACOSX/src/._components
176B
src/vite-env.d.ts
92B
__MACOSX/src/._vite-env.d.ts
176B
src/api/
-
__MACOSX/src/._api
176B
src/permission.ts
1.14KB
__MACOSX/src/._permission.ts
176B
src/views/
-
__MACOSX/src/._views
176B
src/assets/
-
__MACOSX/src/._assets
176B
src/store/
-
__MACOSX/src/._store
176B
src/router/
-
__MACOSX/src/._router
176B
src/utils/request.ts
983B
__MACOSX/src/utils/._request.ts
176B
src/style/index.scss
102B
__MACOSX/src/style/._index.scss
176B
src/style/reset.scss
1.13KB
__MACOSX/src/style/._reset.scss
176B
src/style/variable.scss
33B
__MACOSX/src/style/._variable.scss
176B
src/components/SvgIcon/
-
__MACOSX/src/components/._SvgIcon
176B
src/components/index.ts
255B
__MACOSX/src/components/._index.ts
176B
src/api/user/
-
__MACOSX/src/api/._user
176B
src/api/index.ts
231B
__MACOSX/src/api/._index.ts
176B
src/views/home/
-
__MACOSX/src/views/._home
176B
src/views/404/
-
__MACOSX/src/views/._404
176B
src/views/login/
-
__MACOSX/src/views/._login
176B
src/assets/images/
-
__MACOSX/src/assets/._images
176B
src/assets/icons/
-
__MACOSX/src/assets/._icons
176B
src/store/index.ts
173B
__MACOSX/src/store/._index.ts
176B
src/store/modules/
-
__MACOSX/src/store/._modules
176B
src/router/index.ts
1.18KB
__MACOSX/src/router/._index.ts
176B
src/components/SvgIcon/index.vue
685B
__MACOSX/src/components/SvgIcon/._index.vue
176B
src/api/user/type.ts
614B
__MACOSX/src/api/user/._type.ts
176B
src/api/user/index.ts
605B
__MACOSX/src/api/user/._index.ts
176B
src/views/home/index.vue
203B
__MACOSX/src/views/home/._index.vue
176B
src/views/404/index.vue
139B
__MACOSX/src/views/404/._index.vue
163B
src/views/login/index.vue
2.13KB
__MACOSX/src/views/login/._index.vue
219B
src/assets/images/loginbg.png
2MB
__MACOSX/src/assets/images/._loginbg.png
176B
src/assets/icons/home.svg
2.72KB
__MACOSX/src/assets/icons/._home.svg
176B
src/store/modules/user.ts
679B
__MACOSX/src/store/modules/._user.ts
176B
scripts/
-
__MACOSX/._scripts
176B
scripts/preinstall.js
233B
__MACOSX/scripts/._preinstall.js
176B
README.md
1.49KB
__MACOSX/._README.md
176B
public/
-
__MACOSX/._public
176B
public/vite.svg
1.46KB
__MACOSX/public/._vite.svg
176B
pnpm-lock.yaml
381.49KB
__MACOSX/._pnpm-lock.yaml
176B
package.json
2.04KB
__MACOSX/._package.json
176B
index.html
359B
__MACOSX/._index.html
219B
commitlint.config.cjs
885B
__MACOSX/._commitlint.config.cjs
176B

资源内容介绍

采用vite快速构建的一个vue3框架,已设置好eslint(javascript代码检测工具)、prettier(格式化工具)、stylelint、husky、element-plus的引入、src别名配置、svg图标配置、pinia、axios二次封装、scss等项目中会使用到的一些配置。方便使用户直接上手书写代码,减少项目配置的时间。
# Vue 3 + TypeScript + ViteThis template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.## Recommended IDE Setup- [VS Code](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 TSTypeScript 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.

用户评论 (0)

发表评论

captcha