# vue-template **Repository Path**: github-29727412/vue-template ## Basic Information - **Project Name**: vue-template - **Description**: vue+vant+ts 移动端模板 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-18 - **Last Updated**: 2022-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # xt-maicai-h5 ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn serve ``` ### Compiles and minifies for production ``` yarn build ``` ### Run your unit tests ``` yarn test:unit ``` ### Lints and fixes files ``` yarn lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ### less 使用别名 `@import '~@styles/mixins.less';` > 设计尺寸是按375*667为准(高度会随着内容多少而改变) > `tsconfig.json`: typescript配置文件,主要用于指定待编译的文件和定义编译选项 > `shims-tsx.d.ts`: 允许.tsx 结尾的文件,在 Vue 项目中编写 jsx 代码 > `shims-vue.d.ts`: 主要用于 TypeScript 识别.vue 文件,Ts 默认并不支持导入 vue 文件