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
@@ -113,16 +113,16 @@ When including Portal-vue from a CDN, make sure you get one of the of UMD builds
113
113
114
114
**About CDNs**: `unpkg.com` and `jsdelivr.com` will load the umd lib automatically.
115
115
116
-
If you include it form other sources directly in you HTML, make sure to import `portal-vue/dist/portal-vue.umd.min.js`
116
+
If you include it from other sources directly in your HTML, make sure to import `portal-vue/dist/portal-vue.umd.min.js`
117
117
118
118
### Commonjs
119
119
120
-
This is the defaulf main file of the package.
120
+
This is the default main file of the package.
121
121
122
-
Webpack 1 doesn't support commonjs, neither do some dev tools, like jest don't either. So this is a sensible default to use.
122
+
Webpack 1 doesn't support commonjs, neither do some dev tools, like jest doesn't either. So this is a sensible default to use.
123
123
124
124
### ESM
125
125
126
126
Webpack >=2, rollup and parcel all can natively understand ESModules, so this is the best build to use with those bundlers.
127
127
128
-
The ESM version is marked as the default export of `package.json` for consumers that understand the `"module"` field in `package.json` (which is true for all the aforementioned bundlers), so doing `import PortalVue from 'portal-vue'` will automatically give your the ESM build if the bundler supports it.
128
+
The ESM version is marked as the default export of `package.json` for consumers that understand the `"module"` field in `package.json` (which is true for all the aforementioned bundlers), so doing `import PortalVue from 'portal-vue'` will automatically give you the ESM build if the bundler supports it.
0 commit comments