This commit is contained in:
nixa 2016-08-22 23:25:30 +03:00
parent d22c977171
commit d5de85f567
3 changed files with 9 additions and 16 deletions

View file

@ -73,9 +73,6 @@
<pre><code class="lang-bash">npm install --global typescript@beta <pre><code class="lang-bash">npm install --global typescript@beta
</code></pre> </code></pre>
</li> </li>
<li><p>bower</p>
<pre><code>npm install --global bower
</code></pre></li>
</ul> </ul>
<h2 id="clone-repository-and-install-dependencies">Clone repository and install&nbsp;dependencies</h2> <h2 id="clone-repository-and-install-dependencies">Clone repository and install&nbsp;dependencies</h2>
<p>You will need to clone the source code of ng2-admin GitHub&nbsp;repository:</p> <p>You will need to clone the source code of ng2-admin GitHub&nbsp;repository:</p>
@ -86,14 +83,12 @@
npm install npm install
</code></pre> </code></pre>
<p>This will setup a working copy of ng2-admin on your local&nbsp;machine.</p> <p>This will setup a working copy of ng2-admin on your local&nbsp;machine.</p>
<p><strong>Note</strong>: If you have any issues after the installation, additionally run the&nbsp;following:</p> <pre><code>## Running local copy
<pre><code class="lang-bash">bower install
</code></pre> To run a local copy in development mode, execute:
<h2 id="running-local-copy">Running local&nbsp;copy</h2> ```bash
<p>To run a local copy in development mode,&nbsp;execute:</p> npm start
<pre><code class="lang-bash">npm start </code></pre><p>Go to <a href="http://0.0.0.0:3000">http://0.0.0.0:3000</a> or <a href="http://localhost:3000">http://localhost:3000</a> in your&nbsp;browser.</p>
</code></pre>
<p>Go to <a href="http://0.0.0.0:3000">http://0.0.0.0:3000</a> or <a href="http://localhost:3000">http://localhost:3000</a> in your&nbsp;browser.</p>
<p>To run the local copy in production mode and build the sources,&nbsp;execute:</p> <p>To run the local copy in production mode and build the sources,&nbsp;execute:</p>
<pre><code class="lang-bash">npm run prebuild:prod &amp;&amp; npm run build:prod &amp;&amp; npm run server:prod <pre><code class="lang-bash">npm run prebuild:prod &amp;&amp; npm run build:prod &amp;&amp; npm run server:prod
</code></pre> </code></pre>

View file

@ -94,10 +94,7 @@
├──tslint.json * typescript lint config ├──tslint.json * typescript lint config
├──typedoc.json * typescript documentation generator ├──typedoc.json * typescript documentation generator
├──tsconfig.json * config that webpack uses for typescript ├──tsconfig.json * config that webpack uses for typescript
├──typings.json * our typings manager └──package.json * what npm uses to manage it&#39;s dependencies
├──package.json * what npm uses to manage it&#39;s dependencies
├──bower.json * DEPRECATED - moving to npm as primary package manager for all dependenties
└──.bowerrc * DEPRECARD - temporary bower configuration
</code></pre><p>In our template we tried to separate theme layer and presentation layer. We believe most of other templates have them combined. Thats why when you start developing using them, it gets very hard for you to remove things you dont&nbsp;need.</p> </code></pre><p>In our template we tried to separate theme layer and presentation layer. We believe most of other templates have them combined. Thats why when you start developing using them, it gets very hard for you to remove things you dont&nbsp;need.</p>
</div> </div>

View file

@ -71,7 +71,8 @@ All menu items information is defined inside the <code>data</code> property of a
icon: <span class="string">'ion-android-home'</span>, <span class="comment">// menu icon</span> icon: <span class="string">'ion-android-home'</span>, <span class="comment">// menu icon</span>
selected: <span class="literal">false</span>, <span class="comment">// selected or not</span> selected: <span class="literal">false</span>, <span class="comment">// selected or not</span>
expanded: <span class="literal">false</span>, <span class="comment">// expanded or not (if item has children)</span> expanded: <span class="literal">false</span>, <span class="comment">// expanded or not (if item has children)</span>
order: <span class="number">0</span> <span class="comment">// item order in the menu list</span> order: <span class="number">0</span>, <span class="comment">// item order in the menu list,</span>
hidden: <span class="literal">true</span> <span class="comment">// hide menu item from a list but keep related features (breadcrums, page title)</span>
} }
} }
} }