Syntax Error: // https://github.com/ant-design/ant-motion/issues/44 .bezierEasingMixin(); ^ Inline JavaScript is not enabled. Is it set in your options? in /Users/dengzemiao/Desktop/test/antdvtest/test/node_modules/ant-design-vue/lib/style/color/bezierEasing.less (line In 110, column 0) @ ./node_modules/ant-design-vue/dist/antd.less 4:14-188 15:3-20:5 16:22-196 @ ./src/main.js @ multi (webpack)-dev-server/client? http://10.0.90.164:8081&sockPath=/sockjs-node (webpack)/hot/dev - server. Js. / SRC/main. JsCopy the code
Solution: Create vue.config.js and add the following configuration
Module.exports = {CSS: {loaderOptions: {less: {// custom theme style // modifyVars: {// 'primary-color': '#41B883', // 'link-color': '#41B883', // 'border-radius-base': '2px' //} // true } } } }Copy the code