Sprucing Up Your UI with Bootstrap
Bootstrap, by Twitter, is a framework for developing beautiful, mobile-first web UIs.[71] Rather than designing every aspect of the UI and then writing CSS rules by hand, weâll use Bootstrap to provide a good, basic design.
Before we pull in Bootstrap, though, weâll need some dependency plugins. For webpack to work with CSS generally, we need the style-loader and css-loader plugins. In addition, to load other static assets that CSS files might reference, like images and fonts, weâll need the url-loader plugin and its peer dependency the file-loader plugin.
Use npm to install all of those:
â | â$ âânpmââ ââinstallââ ââ--save-devââ ââ--save-exactââ ââ\â |
â | â |
Get Node.js 8 the Right Way now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.