Skip to content

Commit 6a65739

Browse files
authored
chore: readme typos (#885)
[ci skip]
1 parent 925ba6b commit 6a65739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vue/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- **`vue.esm(.prod).js`**:
1414
- For usage via native ES modules imports (in browser via `<script type="module">`, or via Node.js native ES modules support in the future)
1515
- Inlines all dependencies - i.e. it's a single ES module with no imports from other files
16-
- this means you **must** import everything from this file nad this file only to ensure you are getting the same instance of code.
16+
- this means you **must** import everything from this file and this file only to ensure you are getting the same instance of code.
1717
- Hard-coded prod/dev branches, and the prod build is pre-minified (you will need to use different files for dev/prod)
1818

1919
### With a Bundler
@@ -23,7 +23,7 @@
2323
- Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler)
2424
- Does not ship minified builds (to be done together with the rest of the code after bundling)
2525
- imports dependencies (e.g. `@vue/runtime-core`, `@vue/runtime-compiler`)
26-
- imported depdencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@vue/runtime-core` imports `@vue/reactivity`)
26+
- imported dependencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@vue/runtime-core` imports `@vue/reactivity`)
2727
- this means you **can** install/import these deps individually without ending up with different instances of these dependencies.
2828
- **`vue.runtime.esm-bundler.js`**: runtime only, does not include runtime template compilation support. **This is the default entry for bundlers (via `module` field in `package.json`)** because when using a bundler templates are typically pre-compiled (e.g. in `*.vue` files).
2929
- **`vue.esm-bundler.js`**: includes the runtime compiler. Use this if you are using a bundler but still want runtime template compilation (e.g. in-DOM templates or templates via inline JavaScript strings).

0 commit comments

Comments
 (0)