question: put css and js, of layui in static and also introduce these two css and js, in index.html. These two css and js, are also introduced in main.js using import, but writing layer.msg ("hello") in the mounted function in the build is an error report. The error report is as follows:
index.html:
main.js:
swiperbanner.vue:
what exactly is the problem? I"ve been looking for it all morning, but I really can"t find out why