vue-ts-demo
项目介绍
{以下是码云平台说明,您可以替换为您的项目简介
码云是开源中国推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 https://gitee.com/enterprises}
软件架构
软件架构说明
环境依赖: Node.js ; (最新的脚手架需要 Node >=8.9)
vue 官方脚手架: vue-cli (vue-cli >=3.0)
安装教程
Vue-Cli
Please pick a preset -> (请选择一个预设)
default (babel, eslint) -> (官方预设)
Manually select features -> (手动选择功能)
check the features needed for your project:
Babel √
TypeScript √
Progressive Web App (PWA) Support
Router √
Vuex √
CSS Pre-processors √
Linter / Formatter √
Unit Testing
E2E Testing
Use class-style component syntax?: Yes
Use Babel alongside TypeScript for auto-detected polyfills: Yes
Pick a CSS pre-processor (postCSS , Autoprefixer and CSS Modeules
are supported by default): SCSS/SASS
Pick a linter / formatter config
TSLint √
ESLint with error prevention only
ESLint + Airbnb config
ESLint + Standard config
ESLint + Prettier
Pick additional lint fratures
Lint on save
Lint and fix on commit
使用说明
xxxx
xxxx
xxxx
参与贡献
Fork 本项目
新建 Feat_xxx 分支
提交代码
新建 Pull Request
码云特技
使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
GVP 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
vue-ts-demo
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Customize configuration
扩展点
1. 改造vue项目为多页(多模块)、多应用,通用权限及底层前端服务
2. 改造npm run serve命令,支持单模块启动调试服务
3. 改造npm run build命令,改为构建指定应用