why iview-loade is no effective , for html tag 'i-'?

73 Views Asked by At

I want to use iview tag <i-row> in DOM, but when I config the iview-loader in webpack.config.js, and make the props prefix:true, it still no use.

The webpack.config.js code is :

{
    test: /\.vue$/,
    use: [{
        loader: 'vue-loader',
        options: {}
    }, {
        loader: 'iview-loader',
        options: {
            prefix: true
        }
    }]
}

Chrome browser's console shows this error:

enter image description here

is my configuration wrong?

0

There are 0 best solutions below