# vue2_ts实践 **Repository Path**: emoGenius/vue2-ts-practice ## Basic Information - **Project Name**: vue2_ts实践 - **Description**: 实践在vue2下使用ts开发 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-04-21 - **Last Updated**: 2022-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-ts ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn dev ``` ### Compiles and minifies for production ``` yarn build ``` ### Lints and fixes files ``` yarn lint ``` ### 首次初始化 2022/4/21 1. 初始化使用vue-cli create 搭配ts; 2. 引入了vue-router, vuex; 3. 组件库选择的是element-ui,按需引入; 4. 引入axios作为http请求的包装; 5. 引入mock-js提供请求拦截和提供随机数据;