mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Docs: Fix typo Getting Started > Vite and Webpack guides (#37153)
* 'were to look' → 'where to look' Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
parent
3bd5756414
commit
9af1232c65
@ -73,7 +73,7 @@ At this point, everything is in the right place, but Vite won't work because we
|
||||
|
||||
With dependencies installed and our project folder ready for us to start coding, we can now configure Vite and run our project locally.
|
||||
|
||||
1. **Open `vite.config.js` in your editor.** Since it's blank, we'll need to add some boilerplate config to it so we can start our server. This part of the config tells Vite were to look for our project's JavaScript and how the development server should behave (pulling from the `src` folder with hot reload).
|
||||
1. **Open `vite.config.js` in your editor.** Since it's blank, we'll need to add some boilerplate config to it so we can start our server. This part of the config tells Vite where to look for our project's JavaScript and how the development server should behave (pulling from the `src` folder with hot reload).
|
||||
|
||||
<!-- eslint-skip -->
|
||||
```js
|
||||
|
@ -75,7 +75,7 @@ At this point, everything is in the right place, but Webpack won't work because
|
||||
|
||||
With dependencies installed and our project folder ready for us to start coding, we can now configure Webpack and run our project locally.
|
||||
|
||||
1. **Open `webpack.config.js` in your editor.** Since it's blank, we'll need to add some boilerplate config to it so we can start our server. This part of the config tells Webpack were to look for our project's JavaScript, where to output the compiled code to (`dist`), and how the development server should behave (pulling from the `dist` folder with hot reload).
|
||||
1. **Open `webpack.config.js` in your editor.** Since it's blank, we'll need to add some boilerplate config to it so we can start our server. This part of the config tells Webpack where to look for our project's JavaScript, where to output the compiled code to (`dist`), and how the development server should behave (pulling from the `dist` folder with hot reload).
|
||||
|
||||
```js
|
||||
const path = require('path')
|
||||
|
Loading…
Reference in New Issue
Block a user