fix typo in install docs
This commit is contained in:
parent
0ef8c8beb6
commit
72b6604cbc
3 changed files with 4 additions and 4 deletions
|
|
@ -62,12 +62,12 @@
|
|||
<hr>
|
||||
<h3 id="bower">Bower</h3>
|
||||
<p><a href="http://http://bower.io">Bower</a> is a package manager for <a href="http://nodejs.org/">NodeJS</a>. If you're using NodeJS already or planning on using <a href="http://gruntjs.com/">Grunt</a> to create a build system, you can use Bower to conveniently keep up-to-date with Mithril versions.</p>
|
||||
<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 bower</code></pre>
|
||||
<p>And you can download Mithril by typing this:</p>
|
||||
<pre><code>bower install mithril</code></pre>
|
||||
<p>Then, to use Mithril, point a script tag to the downloaded file:</p>
|
||||
<pre><code class="lang-markup"><script src="bower_components/mithril/mithril.min.js"></script></code></pre>
|
||||
<pre><code class="lang-markup"><script src="/bower_components/mithril/mithril.min.js"></script></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue