Vue设置全局js/css样式时间:2023-03-09 04:22:34 ''' 配置全局js mian.js: import settings from '@/assets/js/settings' Vue.prototype.$settings = settings; ''' ''' 配置全局css样式 main.js: import '@/assets/css/global.css' require('@/assets/css/global.css'); '''