mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 01:10:13 +01:00
Updates
This commit is contained in:
parent
d22c977171
commit
d5de85f567
3 changed files with 9 additions and 16 deletions
|
|
@ -73,9 +73,6 @@
|
|||
<pre><code class="lang-bash">npm install --global typescript@beta
|
||||
</code></pre>
|
||||
</li>
|
||||
<li><p>bower</p>
|
||||
<pre><code>npm install --global bower
|
||||
</code></pre></li>
|
||||
</ul>
|
||||
<h2 id="clone-repository-and-install-dependencies">Clone repository and install dependencies</h2>
|
||||
<p>You will need to clone the source code of ng2-admin GitHub repository:</p>
|
||||
|
|
@ -86,14 +83,12 @@
|
|||
npm install
|
||||
</code></pre>
|
||||
<p>This will setup a working copy of ng2-admin on your local machine.</p>
|
||||
<p><strong>Note</strong>: If you have any issues after the installation, additionally run the following:</p>
|
||||
<pre><code class="lang-bash">bower install
|
||||
</code></pre>
|
||||
<h2 id="running-local-copy">Running local copy</h2>
|
||||
<p>To run a local copy in development mode, execute:</p>
|
||||
<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 browser.</p>
|
||||
<pre><code>## Running local copy
|
||||
|
||||
To run a local copy in development mode, execute:
|
||||
```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 browser.</p>
|
||||
<p>To run the local copy in production mode and build the sources, execute:</p>
|
||||
<pre><code class="lang-bash">npm run prebuild:prod && npm run build:prod && npm run server:prod
|
||||
</code></pre>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</code></pre><p>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.</p>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
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>
|
||||
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>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue