|
4 weeks ago | |
---|---|---|
.. | ||
.vscode | 4 months ago | |
public | 4 months ago | |
src | 4 weeks ago | |
.env.development | 1 month ago | |
.env.production | 1 month ago | |
.env.test | 1 month ago | |
.gitignore | 4 months ago | |
README.md | 2 months ago | |
index.html | 2 months ago | |
package-lock.json | 1 month ago | |
package.json | 1 month ago | |
stats.html | 4 weeks ago | |
tsconfig.app.json | 1 month ago | |
tsconfig.json | 4 months ago | |
tsconfig.node.json | 1 month ago | |
tsconfig.tsbuildinfo | 1 month ago | |
vite.config.ts | 1 month ago |
README.md
Vue 3 + TypeScript + Vite
This 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 to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.
npm install 下载依赖包
npm run dev 启动项目
npm install vue-router 下载 vue-router 组件
npm install axios 下载 axios 组件
npm install element-plus --save 下载 element-plus 组件
npm install @element-plus/icons-vue 下载 element-plus 图标库
npm install vue-icons-plus --save 下载外部图标库
npm install echarts 安装 echarts 组件
npm install moment 安装 moment 组件
npm install mathjs 安装 mathjs 组件,解决数据计算问题
npm install xlsx 安装 xlsx 组件,解决 excel 文件读取问题
npm install vue-json-excel 安装导出 excel 组件
npm install lodash 安装 lodash 组件,解决数据处理问题
npm install vite-plugin-lazy-import -D 安装按需加载组件
npm install vxe-pc-ui@4.3.66 vxe-table@4.10.2 vxe-utils@4.1.11 安装 vxe 组件
npm install --save-dev @types/node 安装 typescript 声明文件 npm install -g http-server 安装 http-server 组件,模拟服务器运行