# luckdraw **Repository Path**: yangrong110/luckdraw ## Basic Information - **Project Name**: luckdraw - **Description**: 春节集卡 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-27 - **Last Updated**: 2021-03-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```bash npm install # 安装依赖 npm run serve # 运行程序 npm run build # 打包 ``` # 命名规范 ## 组件 1. 文件名:XxxXxx 2. css类名:xxx-xxx (语义化) 3. template模板,最外层容器命名xxx-container 4. 组件中name:XxxXxx (与文件名一样) 5. 方法名:xxxXXX(语义化) 获取:getXxxx 设置:setXxx 6. 导入及注册组件: XxxXxx ## 公共 1. 公共样式:asset/css/common.css 2. 公共组件:components ## 路由 1. name:xxxXxx 2. component:()=> import('../views/xxx.vue') ## 按需导入的组件: config/needVant.js