Add the following to your nuxt.config.js
file under the build
section.
nuxt.config.js
build: {
babel:{
plugins: [
['@babel/plugin-proposal-private-methods', { loose: true }]
]
}
}
Add the following to your nuxt.config.js
file under the build
section.
nuxt.config.js
build: {
babel:{
plugins: [
['@babel/plugin-proposal-private-methods', { loose: true }]
]
}
}