大小写问题
superwf opened this issue · comments
nj init 选择 Y-Dept/template-saas模板生成项目
里面有一些大小写问题,若在服务器端配置自动发布的话会找不到文件。
比如routes-web.js中第二行的bundle应为Bundle
src/web/pages/page4_1/page4_1.js中第九行应为datePicker
@superwf 谢谢,已修复:
- https://github.com/Y-Dept/template-saas/blob/master/routes-web.js#L2
- https://github.com/Y-Dept/template-saas/blob/master/src/web/pages/page4_1/page4_1.js#L9
除此外还修复了一些cli中其他页面的大小写问题。这个template-saas项目放在github上,您不用升级nornj-cli也可以直接更新到新版,在init命令时会像vue-cli一样动态下载该项目模板。日后如还发现有问题也可以直接给template-saas项目提PR
~
好高效