Move explanation after having actually included the Sass files

This commit is contained in:
Julien Déramond 2025-04-07 20:17:47 +02:00
parent d14fee7dd1
commit a7fdd9a525
No known key found for this signature in database
GPG Key ID: EE5F274EA1F477FA
1 changed files with 9 additions and 10 deletions

View File

@ -109,16 +109,7 @@ With dependencies installed and our project folder ready for us to start coding,
}
```
3. **Optional:** You may see Sass deprecation warnings with the latest versions of Dart Sass. These can silenced by adding the following configuration in a `.sassrc.js` file in the root folder with the following:
```js
module.exports = {
silenceDeprecations: ['import', 'mixed-decls', 'color-functions', 'global-builtin']
}
```
4. **And finally, we can start Parcel.** From the `my-project` folder in your terminal, run that newly added npm script:
3. **And finally, we can start Parcel.** From the `my-project` folder in your terminal, run that newly added npm script:
```sh
npm start
@ -141,6 +132,14 @@ Importing Bootstrap into Parcel requires two imports, one into our `styles.scss`
*You can also import our stylesheets individually if you want. [Read our Sass import docs]({{< docsref "/customize/sass#importing" >}}) for details.*
**Optional:** You may see Sass deprecation warnings with the latest versions of Dart Sass. These can silenced by adding the following configuration in a `.sassrc.js` file in the root folder with the following:
```js
module.exports = {
silenceDeprecations: ['import', 'mixed-decls', 'color-functions', 'global-builtin']
}
```
2. **Import Bootstrap's JS.** Add the following to `src/js/main.js` to import all of Bootstrap's JS. Popper will be imported automatically through Bootstrap.
<!-- eslint-skip -->