myvue-cli
v0.2.2
Published
my web frond end commond input line with vue
Readme
命令
myvue init [project-name]
项目名称:
project-name
语言选择:
- [x] javascript
- [x] typescript
样式选择:
- [x] CSS
- [x] SCSS(SASS)
样式框架:
- [ ] Bootstrap
- [ ] None
myvue component <component-name>[ -S|--scss][ -T|--typescript]
模板名称:
component-name
语言选择:
- [x] javascript
- [x] typescript
样式选择:
- [x] CSS
- [x] SCSS(SASS)
Feature
- 基于框架
Vue的应用 - 基于
Webpack打包文件 - 可选择的脚本语言
javascript/typescript - 可选择的样式语言
CSS/SCSS - ...
Use
根据提示创建工程,进入工程目录
- 执行
npm installoryarn install - 执行
npm run start-devoryarn start-dev预览初始页面 - 执行
npm run start-prdoryarn start-prd发布项目
目录结构说明
app 为开发文件夹,请仔细观察app的目录结构.
文件夹别名:
"app" -> "./app"
"components" -> "./app/components"
"assets" -> "./app/assets"
