live-open-platform v0.0.0
直播开放平台
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.
Recommended IDE Setup
Type Support For .vue
Imports in TS
Since TypeScript cannot handle type information for .vue
imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue
imports (for example to get props validation when using manual h(...)
calls), you can enable Volar's .vue
type support plugin by running Volar: Switch TS Plugin on/off
from VSCode command palette.
前置配置
- 禁用VSCode本工作区的Vetur & Prettier插件
- 安装Volar插件&ESLint插件
技术栈
Vue3 | Vite | vue-router | TS | Stylus | PUG
约定
提交规范:():
- type: feat、fix、docs、style、refactor、test、chore
- 详情可查阅:https://www.conventionalcommits.org/en/v1.0.0/
开发规范
- Vue组件以文件形式(通常功能比较独立单一)
- Vue组件名以驼峰形式,首字母大写。
- Vue组件以目录形式(通常功能比较复杂)
- 文件名以小写字母+连字符。入口文件通常是index.vue
- Vue组件以文件形式(通常功能比较独立单一)
本地启动
yarn sudo yarn dev
组件问题
由于@blink-common 是由vue2.6 写的,所以本项目暂未使用,后期如需使用需要降级
mock
mock 与 上传进度条冲突,在上传打包时 去掉了mock
2 years ago