|
1 | 1 | <!doctype html>
|
2 | 2 | <html lang="en">
|
3 |
| - <head> |
4 |
| - <meta charset="utf-8"> |
5 |
| - <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 |
| - <title>Bootstrap Webpack 2</title> |
7 |
| - <link rel="stylesheet" href="dist/css/main.css"/> |
8 |
| - </head> |
9 |
| - <body> |
10 |
| - <div class="container py-4 px-3 mx-auto"> |
11 |
| - <header class="d-flex justify-content-between align-items-md-center pb-3 mb-5 border-bottom"> |
12 |
| - <h1 class="h4"> |
13 |
| - <a href="/" class="d-flex align-items-center text-dark text-decoration-none"> |
14 |
| - <img class="d-inline-block me-2" width="40" height="32" |
15 |
| - src="https://raw.githubusercontent.com/twbs/bootstrap/main/site/static/docs/5.2/assets/brand/bootstrap-logo-black.svg" |
16 |
| - alt="Bootstrap"> |
17 |
| - <span>Webpack</span> |
18 |
| - </a> |
19 |
| - </h1> |
20 |
| - <a href="https://github.com/twbs/examples/tree/main/webpack-2/" target="_blank" rel="noopener">View on |
21 |
| - GitHub</a> |
22 |
| - </header> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + <title>Bootstrap w/ Webpack 2</title> |
| 7 | + <link rel="stylesheet" href="dist/css/main.css"> |
| 8 | + </head> |
| 9 | + <body> |
| 10 | + <div class="container py-4 px-3 mx-auto"> |
| 11 | + <header class="d-flex justify-content-between align-items-md-center pb-3 mb-5 border-bottom"> |
| 12 | + <h1 class="h4"> |
| 13 | + <a href="/" class="d-flex align-items-center text-dark text-decoration-none"> |
| 14 | + <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-bootstrap-fill d-inline-block me-2" viewBox="0 0 16 16"> |
| 15 | + <path d="M6.375 7.125V4.658h1.78c.973 0 1.542.457 1.542 1.237 0 .802-.604 1.23-1.764 1.23H6.375zm0 3.762h1.898c1.184 0 1.81-.48 1.81-1.377 0-.885-.65-1.348-1.886-1.348H6.375v2.725z"/> |
| 16 | + <path d="M4.002 0a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4h-8zm1.06 12V3.545h3.399c1.587 0 2.543.809 2.543 2.11 0 .884-.65 1.675-1.483 1.816v.1c1.143.117 1.904.931 1.904 2.033 0 1.488-1.084 2.396-2.888 2.396H5.062z"/> |
| 17 | + </svg> |
| 18 | + <span>Webpack</span> |
| 19 | + </a> |
| 20 | + </h1> |
| 21 | + <a href="https://github.com/twbs/examples/tree/main/webpack-2/" target="_blank" rel="noopener">View on GitHub</a> |
| 22 | + </header> |
23 | 23 |
|
24 |
| - <h1>Build Bootstrap with Webpack</h1> |
25 |
| - <div class="col-lg-8 px-0"> |
26 |
| - <p class="fs-4">You've successfully loaded the Bootstrap + Webpack example! It's loaded up with <a |
27 |
| - href="https://getbootstrap.com/">Bootstrap 5</a> and uses Webpack to compile and bundle our Sass and |
28 |
| - JavaScript. It also includes Autoprefixer.</p> |
29 |
| - <p>If this button appears blue and the link appears purple, you've done it!</p> |
30 |
| - </div> |
| 24 | + <h1>Build Bootstrap with Webpack</h1> |
| 25 | + <div class="col-lg-8 px-0"> |
| 26 | + <p class="fs-4">You've successfully loaded the Bootstrap + Webpack example! It's loaded up with <a href="https://getbootstrap.com/">Bootstrap 5</a> and uses Webpack to compile and bundle our Sass and JavaScript. It also includes Autoprefixer.</p> |
| 27 | + <p>If this button appears blue and the link appears purple, you've done it!</p> |
| 28 | + </div> |
31 | 29 |
|
32 |
| - <button type="button" class="btn btn-primary me-3" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample"> |
33 |
| - Toggle offcanvas |
34 |
| - </button> |
35 |
| - <a id="popoverButton" class="text-success" href="#" role="button" data-bs-toggle="popover" title="Custom popover" |
36 |
| - data-bs-content="This is a Bootstrap popover.">Example popover</a> |
37 |
| - |
38 |
| - <div class="alert alert-success alert-dismissible fade mt-5" role="alert"> |
39 |
| - <strong>You just,</strong> dynamically imported alert.js. |
40 |
| - <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> |
41 |
| - </div> |
42 |
| - |
43 |
| - <div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasExample" aria-labelledby="offcanvasExampleLabel"> |
44 |
| - <div class="offcanvas-header"> |
45 |
| - <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5> |
46 |
| - <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button> |
47 |
| - </div> |
48 |
| - <div class="offcanvas-body"> |
49 |
| - <div> |
50 |
| - Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, |
51 |
| - lists, etc. |
52 |
| - </div> |
53 |
| - <div class="dropdown mt-3"> |
54 |
| - <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" |
55 |
| - data-bs-toggle="dropdown"> |
56 |
| - Dropdown button |
57 |
| - </button> |
58 |
| - <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton"> |
59 |
| - <li><a class="dropdown-item" href="#">Action</a></li> |
60 |
| - <li><a class="dropdown-item" href="#">Another action</a></li> |
61 |
| - <li><a class="dropdown-item" href="#">Something else here</a></li> |
62 |
| - </ul> |
63 |
| - </div> |
64 |
| - </div> |
65 |
| - </div> |
| 30 | + <button type="button" class="btn btn-primary me-3" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample">Toggle offcanvas</button> |
| 31 | + <a id="popoverButton" class="text-success" href="#" role="button" data-bs-toggle="popover" title="Custom popover" data-bs-content="This is a Bootstrap popover.">Example popover</a> |
66 | 32 |
|
67 |
| - <hr class="col-1 my-5 mx-0"> |
68 |
| - |
69 |
| - <h2>Guides</h2> |
70 |
| - <p>Read more detailed instructions and documentation on using or contributing to Bootstrap.</p> |
71 |
| - <ul class="icon-list"> |
72 |
| - <li><a href="https://getbootstrap.com/docs/5.1/getting-started/introduction/">Bootstrap quick start guide</a> |
73 |
| - </li> |
74 |
| - <li><a href="https://getbootstrap.com/docs/5.1/getting-started/webpack/">Bootstrap Webpack guide</a></li> |
75 |
| - <li><a href="https://getbootstrap.com/docs/5.1/getting-started/parcel/">Bootstrap Parcel guide</a></li> |
76 |
| - <li><a href="https://getbootstrap.com/docs/5.1/getting-started/build-tools/">Contributing to Bootstrap</a></li> |
| 33 | + <div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasExample" aria-labelledby="offcanvasExampleLabel"> |
| 34 | + <div class="offcanvas-header"> |
| 35 | + <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5> |
| 36 | + <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button> |
| 37 | + </div> |
| 38 | + <div class="offcanvas-body"> |
| 39 | + <div> |
| 40 | + Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc. |
| 41 | + </div> |
| 42 | + <div class="dropdown mt-3"> |
| 43 | + <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown"> |
| 44 | + Dropdown button |
| 45 | + </button> |
| 46 | + <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton"> |
| 47 | + <li><a class="dropdown-item" href="#">Action</a></li> |
| 48 | + <li><a class="dropdown-item" href="#">Another action</a></li> |
| 49 | + <li><a class="dropdown-item" href="#">Something else here</a></li> |
77 | 50 | </ul>
|
| 51 | + </div> |
| 52 | + </div> |
| 53 | + </div> |
78 | 54 |
|
79 |
| - <hr class="mt-5 mb-4"> |
| 55 | + <hr class="col-1 my-5 mx-0"> |
80 | 56 |
|
81 |
| - <p class="text-muted">Created and open sourced by the Bootstrap team. Licensed MIT.</p> |
82 |
| - </div> |
| 57 | + <h2>Guides</h2> |
| 58 | + <p>Read more detailed instructions and documentation on using or contributing to Bootstrap.</p> |
| 59 | + <ul class="icon-list"> |
| 60 | + <li><a href="https://getbootstrap.com/docs/5.3/getting-started/introduction/">Bootstrap quick start guide</a></li> |
| 61 | + <li><a href="https://getbootstrap.com/docs/5.3/getting-started/webpack/">Bootstrap Webpack guide</a></li> |
| 62 | + <li><a href="https://getbootstrap.com/docs/5.3/getting-started/parcel/">Bootstrap Parcel guide</a></li> |
| 63 | + <li><a href="https://getbootstrap.com/docs/5.3/getting-started/vite/">Bootstrap Vite guide</a></li> |
| 64 | + <li><a href="https://getbootstrap.com/docs/5.3/getting-started/build-tools/">Contributing to Bootstrap</a></li> |
| 65 | + </ul> |
| 66 | + |
| 67 | + <hr class="mt-5 mb-4"> |
83 | 68 |
|
| 69 | + <p class="text-muted">Created and open sourced by the Bootstrap team. Licensed MIT.</p> |
| 70 | + </div> |
84 | 71 |
|
85 |
| - <script src="dist/js/main.js"></script> |
86 |
| - </body> |
| 72 | + <script src="dist/js/main.js"></script> |
| 73 | + </body> |
87 | 74 | </html>
|
0 commit comments