# vue3
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
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:unit
```
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
```sh
npm run build
npm run test:e2e # or `npm run test:e2e:ci` for headless testing
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```
没有合适的资源?快使用搜索试试~ 我知道了~
Axios和vue3自适应布局方案
共53个文件
vue:16个
ts:12个
json:8个
需积分: 45 4 下载量 69 浏览量
2022-09-04
16:02:46
上传
评论
收藏 250KB ZIP 举报
温馨提示
Axios和vue3自适应布局方案,里面包含mock数据,路由,vue-router,element-plus,json数据,flex布局等
资源详情
资源评论
资源推荐
收起资源包目录
axios和自适应布局.zip (53个子文件)
tsconfig.app.json 260B
package.json 1KB
cypress
support
e2e.ts 671B
commands.ts 1KB
.DS_Store 6KB
e2e
example.cy.ts 195B
tsconfig.json 226B
fixtures
example.json 155B
index.html 337B
tsconfig.config.json 215B
package-lock.json 453KB
cypress.config.ts 190B
dist
assets
index.d7e9e51d.js 82KB
AboutView.cbaefad8.js 223B
index.b5c04f53.css 3KB
AxiosTest.3388514f.js 236B
index.html 429B
favicon.ico 4KB
src
App.vue 816B
assets
logo.svg 308B
base.css 2KB
main.css 209B
.DS_Store 8KB
main.ts 351B
views
HomeView.vue 151B
mock.js 663B
AxiosTest.vue 2KB
AboutView.vue 332B
components
__tests__
HelloWorld.spec.ts 337B
icons
IconSupport.vue 307B
IconTooling.vue 913B
IconDocumentation.vue 1KB
IconCommunity.vue 1KB
IconEcosystem.vue 2KB
.DS_Store 6KB
TheWelcome.vue 3KB
WelcomeItem.vue 1KB
HelloWorld.vue 639B
stores
counter.ts 274B
services
http.ts 3KB
layout
menu.ts 1KB
layoutMain.vue 218B
layoutFooter.vue 217B
layoutHeader.vue 221B
layoutIndex.vue 1KB
router
index.ts 935B
tsconfig.json 193B
env.d.ts 38B
vite.config.ts 362B
tsconfig.vitest.json 153B
public
favicon.ico 4KB
README.md 2KB
yarn.lock 164KB
共 53 条
- 1
KinHKin(五年前端)
- 粉丝: 2265
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0