diff --git a/webpack-2/README.md b/webpack-2/README.md new file mode 100644 index 00000000..104f04fc --- /dev/null +++ b/webpack-2/README.md @@ -0,0 +1,16 @@ +# Bootstrap w/ Webpack + +Include [Bootstrap](https://getbootstrap.com)'s source Sass and individual JavaScript plugins with [Webpack](https://webpack.js.org). + +## Edit in browser + +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/twbs/examples/tree/main/webpack-2?file=index.html) + +## How to use + +```sh +git clone https://github.com/twbs/examples.git +cd examples/webpack/ +npm install +npm start +``` diff --git a/webpack-2/index.html b/webpack-2/index.html new file mode 100644 index 00000000..208484b4 --- /dev/null +++ b/webpack-2/index.html @@ -0,0 +1,87 @@ + + +
+ + +You've successfully loaded the Bootstrap + Webpack example! It's loaded up with Bootstrap 5 and uses Webpack to compile and bundle our Sass and + JavaScript. It also includes Autoprefixer.
+If this button appears blue and the link appears purple, you've done it!
+Read more detailed instructions and documentation on using or contributing to Bootstrap.
+Created and open sourced by the Bootstrap team. Licensed MIT.
+