# vue3_ts_init **Repository Path**: Zhang17839092765/vue3_ts_init ## Basic Information - **Project Name**: vue3_ts_init - **Description**: vue3+ts - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-11-28 - **Last Updated**: 2023-02-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue3 ## 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 ``` ### Run your end-to-end tests ``` yarn test:e2e ``` ### Lints and fixes files ``` yarn lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/) |-node_modules -- 所有的项目依赖包都放在这个目录下 |-public -- 公共文件夹 ---|aircity -- 放的连接视频流及配置项的 js 文件(ac.min.js ac_conf.js) ---|favicon.ico -- 网站的显示图标 ---|index.html -- 入口的 html 文件 ---|当前文件夹其他的可以不用管 |-src -- 源文件目录,编写的代码基本都在这个目录下 ---|assets -- 放置静态文件的目录,比如 logo.pn 就放在这里 ---|components -- Vue 的组件文件,自定义的组件都会放到这 ---|router -- vue-router vue 路由的配置文件, ---|store -- 存放 vuex 或 pinia 为 vue 专门开发的状态管理器, ---|views -- 存放视图文件, ---|App.vue -- 根组件,也就是最开始的页面 这个在 Vue2 中也有 ---|main.ts -- 入口文件,因为采用了 TypeScript 所以是 ts 结尾 ---|shims-vue.d.ts -- 类文件(也叫定义文件),因为.vue 结尾的文件在 ts 中不认可,所以要有定义文件 |-.browserslistrc -- 在不同前端工具之间公用目标浏览器和 node 版本的配置文件,作用是设置兼容性 |-.eslintrc.js -- Eslint 的配置文件,不用作过多介绍 |-.gitignore -- 用来配置那些文件不归 git 管理 |-package.json -- 命令配置和包管理文件 |-README.md -- 项目的说明文件,使用 markdown 语法进行编写 |-vue.config.json -- 请求代理, webpack 配置, 打包输出等都会在这里配置 |-yarn.lock -- 使用 yarn 后自动生成的文件,由 Yarn 管理,安装 yarn 包时的重要信息存储到 yarn.lock 文件中