ionic-framework - 离子生成页面 - 跳过模块文件
问题描述
ionic g page SomePage
还会创建 some-page.module.ts 文件。我如何防止它这样做?
我用离子 4
解决方案
在 Ionic v3 中,可以使用 --no-module 标志来跳过 module.ts 文件的创建。
尝试执行:
ionic g page SomePage --no-module
希望这可以帮助!
推荐阅读
- r - 我在 Rstudio 中找不到意外错误
- c# - 如何在 xamarin 表单项目的打开活动中发送显示警报
- reactjs - 使用 jest 和 react-testing-library 测试正确的 SVG 组件渲染
- ruby-on-rails - 通过 Rails 中的路径将文件添加到数据库
- asp.net - Telerik Radgrid - Eval 语句仅返回列表中的第一项
- python - 找出核苷酸在同一位置出现的次数
- javascript - Nest.js 在控制器上访问 process.env
- ruby - GTK 窗口在 Ubuntu 中使用边框调整大小调整大小,但在 Windows 操作系统中不起作用
- mysql - 使用 laravel 将多个项目添加到复合表中
- python - 在while循环内迭代期间出现TypeError