File tree Expand file tree Collapse file tree 4 files changed +224
-239
lines changed
src/components/form-group Expand file tree Collapse file tree 4 files changed +224
-239
lines changed Original file line number Diff line number Diff 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
220238module .exports = {
Original file line number Diff line number Diff line change 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" ,
146146 "lint-staged" : " ^10.4.2" ,
147147 "loader-utils" : " ^2.0.0" ,
148148 "lodash" : " ^4.17.20" ,
149- "marked" : " ^1.2.0 " ,
149+ "marked" : " ^1.2.2 " ,
150150 "node-sass" : " ^4.14.1" ,
151151 "nuxt" : " ^2.14.7" ,
152152 "postcss" : " ^8.1.2" ,
You can’t perform that action at this time.
0 commit comments