Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Vernacchia committed Jun 7, 2017
1 parent 7c54a50 commit d6ea268
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _includes/getting-started-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,29 @@ <h4>Working with Browserify</h4>

<h4>Working with webpack</h4>

<ol>
<li>Install <code>imports-loader</code> for webpack
{% highlight js %}
npm install --save-dev imports-loader
{% endhighlight %}

</li>
<li>Add rule to webpack configuration
{% highlight js %}
// webpack 2 config
// add as a rule to module.rule
{
test: /fuelux\/js\/.*\.js$/,
use: ['imports-loader?define=>false']
}
{% endhighlight %}

</li>
<li>Include individual modules or fuelux lib where needed
{% highlight js %}
// include where you need to
require('fuelux/js/checkbox')
// or
require('fuelux')
{% endhighlight %}
</li>
</ol>

<div class="fu-docs-section">
<!-- Cross link to new migration page -->
Expand Down

0 comments on commit d6ea268

Please sign in to comment.