vue2bug解决:in ./src/views/install/data-base/scss/menu.scss Module Warning (from ./node_modules/postc

Insert image description here

Article directory


Introduction

in ./src/views/install/data-base/scss/menu.scss

Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning

(14:5) start value has mixed support, consider using flex-start instead

@ ./node_modules/css-loader/dist/cjs.js??ref–8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref–8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref–8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref–0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/install/data-base/menu/index.vue?vue&type=style&index=0&id=3bec82ea&scoped=true&lang=scss 3:40-283
@ ./node_modules/vue-style-loader??ref–8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref–8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref–8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref–8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref–0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/install/data-base/menu/index.vue?vue&type=style&index=0&id=3bec82ea&scoped=true&lang=scss
@ ./src/views/install/data-base/menu/index.vue?vue&type=style&index=0&id=3bec82ea&scoped=true&lang=scss
@ ./src/views/install/data-base/menu/index.vue
@ ./src/router/modules/install.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.1.92:9527&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

Article focus

Insert image description here

Judging from the warning message given, the problem seems to be related to the CSS attribute start. This attribute may not be supported in some browsers, so it is recommended that you use flex-start instead.

You can try replacing start with flex-start in the relevant CSS properties, for example:

.selector {  
  align-items: flex-start;  
  justify-content: flex-start;  
  // 其他与start相关的属性  
}

Insert image description here
Just add it

Hello, I am Feichen.
Welcome to follow me to obtain front-end learning resources, daily sharing of technological changes and survival rules; industry insiders and insights.

Guess you like

Origin blog.csdn.net/weixin_48998573/article/details/135276141