bzdx-cli
v2.0.2
Published
cli tool about vue, webpack and beego.
Downloads
16
Maintainers
Readme
或bzdx -c <所属页面名称>/<组件名称>
在wpk/<页面名称>目录下生成页面所属webpack组件,通过import
导入使用
2.添加页面:bzdx -p <页面名称>
在wpk/views目录下生成同名的html文件,在wpk/css下生成同名的stylus样式文件,wpk/js下生成同名的js脚本入口文件, webpack配置文件新增js页面入口文件, 之后需要手动处理routers和controllers