把样式在 ./App 和 ./router 之前引用 若上面还没有效果 那就在 vue.config.js 文件中 修改css 配置。 添加 extract: false, sourceMap: false,