ReferenceError: require is not defined 【vue3 +vite +setup语法使用报错】
说明原本我们在vue2时代,可以使用require导入静态资源,如下所示test页面exportdefault{name:"globe",data(){return{globe:{baseTexture:require('@/assets/echarts/earth.jpg'),environment:require('@/assets/echarts/starfield.jpg'),}},met