Introduce vux,v-chart to report error

introduce vux,v-chart to report an error. The error message is as follows:

ERROR Failed to compile with 1 errors 18:17:42

error in ./node_modules/_vux@2.9.1@vux/src/components/v-chart/mixin.js

Module parse failed: Unexpected token (18:6)
You may need an appropriate loader to handle this file type.
| this.$parent.set(this.chartName, {
| shape: defaultShapeMap[this.chartName] || "",
| ...this.$props,
| ...camelAttrs(this.$attrs)
| })
Apr.09,2021

Thank you for the invitation!
vux2 must be used with vux-loader. Please refer to the following code for configuration in build/webpack.base.conf.js:

const vuxLoader = require('vux-loader')
const webpackConfig = originalConfig //  module.exports  webpackConfig

module.exports = vuxLoader.merge(webpackConfig, {
  plugins: ['vux-ui']
})

specific reference: install and use (webpack)


friend, have you solved this problem? I also have this problem. I would like to ask you


this error is because the object operator has not been parsed, and the corresponding plug-in needs to be installed to parse the corresponding syntax. Transform-object-rest-spread, also has to configure


in the .babelrc file. I wrote according to the document and kept reporting this error

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35705-4051f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35705-4051f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?