0

我创建了一个新的平均项目。现在我将创建自己的项目。我意识到我应该创建一个新包。我已经执行了命令mean package myOwnPackage,并且一个新包已添加到文件夹packages中。在那个里面还有其他的包。我不明白如何通过只显示我的应用程序而不是内置包文章的 grunt 运行项目

4

2 回答 2

0

在 packages 文件夹中, delete /packages/articles, when grunt,您将在导航栏中看到您的包名称。system,不能删除,否则会出错accessusers

于 2014-08-10T14:34:41.927 回答
0
  1. 意思是初始化 - 看起来你这样做了。
  2. 删除“文章”包,这是一个例子
  3. 自定义您的应用程序:

这些模板将您的 Angular 应用程序加载到浏览器中。

- packages/system/server/views/index.html - this extends default.html.
- packages/system/server/views/layouts/default.html - this is the bottom-most template in your app.
- packages/system/server/views/includes/foot.html,head.html - these are used by default.html to build a homepage.  Note that head.html is head tag not menu.

现在浏览器已加载您的应用程序。这是一个 Angular 应用程序,因此 Angular 开始改变加载页面的 DOM。

- packages/system/public/views/index.html - This is what angular puts on the \ route
- packages/system/public/views/header.html - This is what angular puts in the menu

这是否回答你的问题?

如果你想制作一个黑色网站,请弄清楚你想要黑色在哪里。

于 2014-08-28T12:47:28.630 回答