[英]WARNING Compiled with 1 warning in ./node_modules/bootstrap/dist/css/bootstrap.css
Hello hope you are well!你好希望你一切都好!
I am creating a crud app in vuejs I have installed global vuejs, bootstrap and after that import file bootstrap in main.js.我正在 vuejs 中创建一个 crud 应用程序我已经安装了全局 vuejs、引导程序,然后在 main.js 中导入文件引导程序。
import Vue from 'vue' import App from './App.vue' import './registerServiceWorker' import router from './router' import store from './store' import BootstrapVue from 'bootstrap-vue' import 'bootstrap/dist/css/bootstrap.css' import 'bootstrap-vue/dist/bootstrap-vue.css' Vue.use(BootstrapVue) Vue.config.productionTip = false new Vue({ router, store, render: h => h(App) }).$mount('#app')
But when I run command npm run serve me display error: WARNING Compiled with 1 warning 6:43:27 PM但是当我运行命令 npm 运行服务我时显示错误:WARNING Compiled with 1 warning 6:43:27 PM
warning in./node_modules/bootstrap/dist/css/bootstrap.css警告在./node_modules/bootstrap/dist/css/bootstrap.css
Module Warning (from./node_modules/postcss-loader/dist/cjs.js): Warning模块警告(来自./node_modules/postcss-loader/dist/cjs.js):警告
(2482:3) autoprefixer: Replace color-adjust to print-color-adjust. (2482:3) autoprefixer:将颜色调整替换为打印颜色调整。 The color-adjust shorthand is currently deprecated.当前不推荐使用颜色调整速记。
Do you have any idea how to solve it?你知道如何解决它吗? Thanks in advance!提前致谢!
我有同样的问题,通过运行解决
npm install bootstrap@5.2.0-beta1
same problem whit boxicons:与boxicons相同的问题:
WARNING in./node_modules/boxicons/dist/boxicons.js警告在./node_modules/boxicons/dist/boxicons.js
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.