Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用Yo angular fullstack创建项目时,我被选为jade是模板引擎。但我想将其更改为 html。我想将所有玉文件更改为 html 文件。这是可能的,如果可能的话,怎么可能。
通过 Yeoman 完成项目生成后,就无法自动将所有内容切换回 html。您必须使用新设置从头开始创建一个新项目,或者编辑当前项目的配置文件(Grunt、Karma 等)以不再处理 .jade 文件。当然,您必须将所有 Jade 模板重做为 HTML。
就个人而言,我会创建一个选择 HTML 的新项目,然后从旧项目中复制并粘贴任何需要保留到新项目中的文件。