前端学习(2146):vue中TypeError: this.getResolve is not a function

可能是加载顺序的问题

const path = require('path')
module.exports = {
    entry: './src/main.js',
    output: {
        path: path.resolve(__dirname, 'dist'),
        filename: 'bund.js'
    },
    module: {
        rules: [{
            test: /\.css$/,
            use: ['style-loader', 'style-loader']
        }]
    }
}

猜你喜欢

转载自blog.csdn.net/weixin_43392489/article/details/108303332