aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.3/getting-started/parcel.md
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2024-04-01 21:48:31 +0300
committerGitHub <[email protected]>2024-04-01 21:48:31 +0300
commit2ba7dae3c080c5fac21f4d7f1663c8f524fefb26 (patch)
tree50f385c2f03112688c0cb47830897f9bdd28c402 /site/content/docs/5.3/getting-started/parcel.md
parent24cc552343c817b0d13201639c635a778d55da09 (diff)
downloadbootstrap-2ba7dae3c080c5fac21f4d7f1663c8f524fefb26.tar.xz
bootstrap-2ba7dae3c080c5fac21f4d7f1663c8f524fefb26.zip
Add a render image hook (#39768)
Images are now lazyloaded, they have width and height attributes and the classes are centralized. Only applies to Markdown images
Diffstat (limited to 'site/content/docs/5.3/getting-started/parcel.md')
-rw-r--r--site/content/docs/5.3/getting-started/parcel.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.3/getting-started/parcel.md b/site/content/docs/5.3/getting-started/parcel.md
index a987b4587..4291f76cc 100644
--- a/site/content/docs/5.3/getting-started/parcel.md
+++ b/site/content/docs/5.3/getting-started/parcel.md
@@ -111,7 +111,7 @@ With dependencies installed and our project folder ready for us to start coding,
npm start
```
- <img class="img-fluid" src="/docs/{{< param docs_version >}}/assets/img/guides/parcel-dev-server.png" alt="Parcel dev server running">
+ ![Parcel dev server running](/assets/img/guides/parcel-dev-server.png)
In the next and final section to this guide, we'll import all of Bootstrap's CSS and JavaScript.
@@ -150,7 +150,7 @@ Importing Bootstrap into Parcel requires two imports, one into our `styles.scss`
3. **And you're done! 🎉** With Bootstrap's source Sass and JS fully loaded, your local development server should now look like this:
- <img class="img-fluid" src="/docs/{{< param docs_version >}}/assets/img/guides/parcel-dev-server-bootstrap.png" alt="Parcel dev server running with Bootstrap">
+ ![Parcel dev server running with Bootstrap](/assets/img/guides/parcel-dev-server-bootstrap.png)
Now you can start adding any Bootstrap components you want to use. Be sure to [check out the complete Parcel example project](https://github.com/twbs/examples/tree/main/parcel) for how to include additional custom Sass and optimize your build by importing only the parts of Bootstrap's CSS and JS that you need.