update component docs - it doesn't support non-master branches
This commit is contained in:
parent
05630b2b95
commit
2054edae10
3 changed files with 4 additions and 4 deletions
|
|
@ -82,9 +82,9 @@
|
||||||
<p>Assuming you have NodeJS installed, you can install Bower by typing this in the command line:</p>
|
<p>Assuming you have NodeJS installed, you can install Bower by typing this in the command line:</p>
|
||||||
<pre><code>npm install -g component</code></pre>
|
<pre><code>npm install -g component</code></pre>
|
||||||
<p>And you can download Mithril by typing this:</p>
|
<p>And you can download Mithril by typing this:</p>
|
||||||
<pre><code>component install lhorie/mithril@gh-pages</code></pre>
|
<pre><code>component install lhorie/mithril</code></pre>
|
||||||
<p>Then, to use Mithril, point a script tag to the downloaded file:</p>
|
<p>Then, to use Mithril, point a script tag to the downloaded file:</p>
|
||||||
<pre><code class="lang-markup"><script src="/components/lhorie/mithril/gh-pages/mithril.min.js"></script></code></pre>
|
<pre><code class="lang-markup"><script src="/components/lhorie/mithril/master/mithril.min.js"></script></code></pre>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -93,11 +93,11 @@ npm install -g component
|
||||||
And you can download Mithril by typing this:
|
And you can download Mithril by typing this:
|
||||||
|
|
||||||
```
|
```
|
||||||
component install lhorie/mithril@gh-pages
|
component install lhorie/mithril
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, to use Mithril, point a script tag to the downloaded file:
|
Then, to use Mithril, point a script tag to the downloaded file:
|
||||||
|
|
||||||
```markup
|
```markup
|
||||||
<script src="/components/lhorie/mithril/gh-pages/mithril.min.js"></script>
|
<script src="/components/lhorie/mithril/master/mithril.min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue