Commit 817b80d5 authored by Robert Martin's avatar Robert Martin Committed by Johann-S
Browse files

Update webpack.md

Minor edits for style and consistency
parent fb60a4a9
Showing with 3 additions and 3 deletions
+3 -3
......@@ -40,7 +40,7 @@ Notice that if you chose to **import plugins individually**, you must also insta
To enjoy the full potential of Bootstrap and customize it to your needs, use the source files as a part of your project's bundling process.
First, create your own `_custom.scss` and use it to override the [built-in custom variables]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/options/). Then, use your main sass file to import your custom variables, followed by Bootstrap:
First, create your own `_custom.scss` and use it to override the [built-in custom variables]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/options/). Then, use your main Sass file to import your custom variables, followed by Bootstrap:
{% highlight scss %}
@import "custom";
......@@ -76,13 +76,13 @@ For Bootstrap to compile, make sure you install and use the required loaders: [s
### Importing Compiled CSS
Alternatively, you may use Bootstrap's ready-to-use css by simply adding this line to your project's entry point:
Alternatively, you may use Bootstrap's ready-to-use CSS by simply adding this line to your project's entry point:
{% highlight js %}
import 'bootstrap/dist/css/bootstrap.min.css';
{% endhighlight %}
In this case you may use your existing rule for `css` without any special modifications to webpack config except you don't need `sass-loader` just [style-loader](https://github.com/webpack-contrib/style-loader) and [css-loader](https://github.com/webpack-contrib/css-loader).
In this case you may use your existing rule for `css` without any special modifications to webpack config, except you don't need `sass-loader` just [style-loader](https://github.com/webpack-contrib/style-loader) and [css-loader](https://github.com/webpack-contrib/css-loader).
{% highlight js %}
...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment