如何重命名角度应用程序? [英] How to rename angular app?

查看:101
本文介绍了如何重命名角度应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个我想重命名的有角度的应用程序.除了手动重命名所有出现的应用程序名称(例如folder namepackage.json等)之外,是否有一种简便的方法来重命名应用程序

I have an angular app which I'd like to rename. Is there an easy way to rename the app other than renaming manually all the occurrences of the app name (like the folder name, in package.json, etc..)

谢谢!

推荐答案

您不能!!

默认情况下,Angular将使用名称/别名创建项目/应用程序.app但是在创建新项目后,如果您希望更改新组件/服务等的选择器.

By default, Angular will create a project/app using name/alias app But after creating a new project if you wish to change the selectors for new component/service etc.

然后您可以在

"prefix": "app",  //change with your name here

这篇关于如何重命名角度应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆