在将vuetify安装到我的webpack.config.js中后,我在控制台中收到了此消息。而且视图无法正确呈现。
vue.esm.js?a026:628 [Vue warn]: Error in render: "TypeError: Cannot read property 'smAndDown' of undefined"
found in
---> <VToolbar>
webpack.config.js
module.exports.plugins = (module.exports.plugins || []).concat([
new CopyWebpackPlugin([
{
from: path.join(__dirname, './assets'),
to: path.join(__dirname, 'public/assets')
}
]),
new webpack.DefinePlugin({
env: JSON.stringify(env)
}),
new VueLoaderPlugin(),
new VuetifyLoaderPlugin(),
new HtmlWebpackPlugin({
hash: true,
template: "./src/index.html"
})
]);
babel
{
"presets": [
"@babel/preset-env"
],
"plugins": [
["@babel/plugin-transform-runtime"]
]
}
我想念什么?谢谢