You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/installation.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,8 @@ $ cd <project-name>
90
90
$ yarn
91
91
$ yarn dev
92
92
```
93
-
It might occur, that when your username has a space in it like 'Mike Baker' that vite cannot succeed. Have a try with
93
+
94
+
It might occur, that when your username has a space in it like 'Mike Baker' that vite cannot succeed. Have a try with
94
95
95
96
```bash
96
97
$ create-vite-app <project-name>
@@ -115,14 +116,14 @@ In the [`dist/` directory of the npm package](https://cdn.jsdelivr.net/npm/vue@3
115
116
Global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and are only meant for direct use via `<script src="...">`.
116
117
:::
117
118
118
-
#### vue(.runtime).esm-browser(.prod).js:
119
+
#### `vue(.runtime).esm-browser(.prod).js`:
119
120
120
121
- For usage via native ES modules imports (in browser via `<script type="module">`.
121
122
- Shares the same runtime compilation, dependency inlining and hard-coded prod/dev behavior with the global build.
122
123
123
124
### With a Bundler
124
125
125
-
#### vue(.runtime).esm-bundler.js:
126
+
#### `vue(.runtime).esm-bundler.js`:
126
127
127
128
- For use with bundlers like `webpack`, `rollup` and `parcel`.
128
129
- Leaves prod/dev branches with `process.env.NODE_ENV guards` (must be replaced by bundler)
0 commit comments