From d5de85f567cc37a41e37b508f076623fbcf1b7a0 Mon Sep 17 00:00:00 2001 From: nixa <4dmitr@gmail.com> Date: Mon, 22 Aug 2016 23:25:30 +0300 Subject: [PATCH] Updates --- articles/002-installation-guidelines/index.html | 17 ++++++----------- articles/012-project-structure/index.html | 5 +---- articles/015-sidebar/index.html | 3 ++- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/articles/002-installation-guidelines/index.html b/articles/002-installation-guidelines/index.html index 30f7c3e7..08a29224 100644 --- a/articles/002-installation-guidelines/index.html +++ b/articles/002-installation-guidelines/index.html @@ -73,9 +73,6 @@
npm install --global typescript@beta
-bower
-npm install --global bower
-You will need to clone the source code of ng2-admin GitHub repository:
@@ -86,14 +83,12 @@ npm installThis will setup a working copy of ng2-admin on your local machine.
-Note: If you have any issues after the installation, additionally run the following:
-bower install
-
-To run a local copy in development mode, execute:
-npm start
-
-Go to http://0.0.0.0:3000 or http://localhost:3000 in your browser.
+## Running local copy
+
+To run a local copy in development mode, execute:
+```bash
+npm start
+Go to http://0.0.0.0:3000 or http://localhost:3000 in your browser.
To run the local copy in production mode and build the sources, execute:
npm run prebuild:prod && npm run build:prod && npm run server:prod
diff --git a/articles/012-project-structure/index.html b/articles/012-project-structure/index.html
index 487f20b2..8c1eb73b 100644
--- a/articles/012-project-structure/index.html
+++ b/articles/012-project-structure/index.html
@@ -94,10 +94,7 @@
├──tslint.json * typescript lint config
├──typedoc.json * typescript documentation generator
├──tsconfig.json * config that webpack uses for typescript
- ├──typings.json * our typings manager
- ├──package.json * what npm uses to manage it's dependencies
- ├──bower.json * DEPRECATED - moving to npm as primary package manager for all dependenties
- └──.bowerrc * DEPRECARD - temporary bower configuration
+ └──package.json * what npm uses to manage it's dependencies
In our template we tried to separate theme layer and presentation layer. We believe most of other templates have them combined. That’s why when you start developing using them, it gets very hard for you to remove things you don’t need.
diff --git a/articles/015-sidebar/index.html b/articles/015-sidebar/index.html index 94b593e4..d2bee2e2 100644 --- a/articles/015-sidebar/index.html +++ b/articles/015-sidebar/index.html @@ -71,7 +71,8 @@ All menu items information is defined inside thedata property of a
icon: 'ion-android-home', // menu icon
selected: false, // selected or not
expanded: false, // expanded or not (if item has children)
- order: 0 // item order in the menu list
+ order: 0, // item order in the menu list,
+ hidden: true // hide menu item from a list but keep related features (breadcrums, page title)
}
}
}