Skip to content

Commit 94071fc

Browse files
authored
Merge branch 'dev' into fix-b-icon-local-component-lookup
2 parents d0b477c + 8a367b6 commit 94071fc

File tree

8 files changed

+249
-244
lines changed

8 files changed

+249
-244
lines changed

docs/markdown/intro/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,25 @@ BootstrapVue and PortalVue require access to the global `Vue` reference (via
214214
</p>
215215
</div>
216216

217-
**Example: Vue alias in webpack.config.js**
217+
**Example: Vue alias for [Vue CLI](https://cli.vuejs.org/) in `vue.config.js`**
218+
219+
```js
220+
const path = require('path')
221+
222+
module.exports = {
223+
chainWebpack: config => {
224+
config.resolve.alias.set(
225+
'vue$',
226+
// If using the runtime only build
227+
path.resolve(__dirname, 'node_modules/vue/dist/vue.runtime.esm.js')
228+
// Or if using full build of Vue (runtime + compiler)
229+
// path.resolve(__dirname, 'node_modules/vue/dist/vue.esm.js')
230+
)
231+
}
232+
}
233+
```
234+
235+
**Example: Vue alias in `webpack.config.js`**
218236

219237
```js
220238
module.exports = {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"core-js": "^3.6.5",
126126
"cross-env": "^7.0.2",
127127
"eslint": "^7.11.0",
128-
"eslint-config-prettier": "^6.13.0",
128+
"eslint-config-prettier": "^6.14.0",
129129
"eslint-config-standard": "^14.1.1",
130130
"eslint-config-vue": "^2.0.2",
131131
"eslint-plugin-import": "^2.22.1",

0 commit comments

Comments
 (0)