0👍
Try this.
- Install
babel polyfill
npm install --save @babel/polyfill or yarn add @babel/polyfill
- Add the code import
@babel/polyfill
tosrc/main.js
.
import '@babel/polyfill'
import Vue from 'vue'
// ...
- Change the babel.config.js as follows:
module.exports = {
presets: [
[
'@vue/app',
{
'useBuiltIns': 'entry'
}
]
]
}
- Create the vue.config.js file and create:
(Add existing settings if they already exist.)
const ansiRegex = require('ansi-regex')
module.exports = {
......(기존 설정이 있다면 다음에 추가)
transpileDependencies: [ansiRegex]
}
Note. Use es6-promise
when using a promise pattern.
- [Vuejs]-Rendering a base64 image, currently comes back as blank
- [Vuejs]-Nativescript-vue issue with list in GridLayout
Source:stackexchange.com