]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: readme typos (#885)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Thu, 26 Mar 2020 13:31:54 +0000 (14:31 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Mar 2020 13:31:54 +0000 (09:31 -0400)
[ci skip]

packages/vue/README.md

index f1870dfbe4e891cef0a84e5a5f9b8a263012338b..d2911f7de02dbcdf78a0a1364d0832dc87720404 100644 (file)
@@ -13,7 +13,7 @@
 - **`vue.esm(.prod).js`**:
   - For usage via native ES modules imports (in browser via `<script type="module">`, or via Node.js native ES modules support in the future)
   - Inlines all dependencies - i.e. it's a single ES module with no imports from other files
-    - this means you **must** import everything from this file nad this file only to ensure you are getting the same instance of code.
+    - this means you **must** import everything from this file and this file only to ensure you are getting the same instance of code.
   - Hard-coded prod/dev branches, and the prod build is pre-minified (you will need to use different files for dev/prod)
 
 ### With a Bundler
@@ -23,7 +23,7 @@
   - Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler)
   - Does not ship minified builds (to be done together with the rest of the code after bundling)
   - imports dependencies (e.g. `@vue/runtime-core`, `@vue/runtime-compiler`)
-    - imported depdencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@vue/runtime-core` imports `@vue/reactivity`)
+    - imported dependencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@vue/runtime-core` imports `@vue/reactivity`)
     - this means you **can** install/import these deps individually without ending up with different instances of these dependencies.
   - **`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).
   - **`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).