main.js中 import 'swiper/dist/css/swiper.css' 报警告,已经确定是这一行代码导致的
client?b989:153 ./node_modules/_css-loader@0.28.11@css-loader/lib/css-base.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: * E:\FeRealProject\gowhere\node_modules\_css-loader@0.28.11@css-loader\lib\css-base.js Used by 7 module(s), i. e. E:\FeRealProject\gowhere\node_modules\_css-loader@0.28.11@css-loader\index.js??ref--6-1!E:\FeRealProject\gowhere\node_modules\_postcss-loader@2.1.5@postcss-loader\lib\index.js??ref--6-2!E:\FeRealProject\gowhere\src\assets\style\reset.css * e:\FeRealProject\gowhere\node_modules\_css-loader@0.28.11@css-loader\lib\css-base.js Used by 1 module(s), i. e. e:\FeRealProject\gowhere\node_modules\_css-loader@0.28.11@css-loader\index.js??ref--6-1!e:\FeRealProject\gowhere\node_modules\_postcss-loader@2.1.5@postcss-loader\lib\index.js??ref--6-2!e:\FeRealProject\gowhere\node_modules\_swiper@3.4.2@swiper\dist\css\swiper.css @ ./node_modules/_css-loader@0.28.11@css-loader/lib/css-base.js @ ./node_modules/_css-loader@0.28.11@css-loader??ref--6-1!./node_modules/_postcss-loader@2.1.5@postcss-loader/lib??ref--6-2!./src/assets/style/reset.css @ ./src/assets/style/reset.css @ ./src/main.js @ multi ./node_modules/_webpack-dev-server@2.11.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js warnings @ client?b989:153 onmessage @ socket.js?6add:41 EventTarget.dispatchEvent @ sockjs.js?cb5d:170 (anonymous) @ sockjs.js?cb5d:883 SockJS._transportMessage @ sockjs.js?cb5d:881 EventEmitter.emit @ sockjs.js?cb5d:86 WebSocketTransport.ws.onmessage @ sockjs.js?cb5d:2957 client?b989:153 ./node_modules/_vue-style-loader@3.1.2@vue-style-loader/lib/addStylesClient.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: * E:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\lib\addStylesClient.js Used by 7 module(s), i. e. E:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\index.js!E:\FeRealProject\gowhere\node_modules\_css-loader@0.28.11@css-loader\index.js??ref--6-1!E:\FeRealProject\gowhere\node_modules\_postcss-loader@2.1.5@postcss-loader\lib\index.js??ref--6-2!E:\FeRealProject\gowhere\src\assets\style\reset.css * e:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\lib\addStylesClient.js Used by 1 module(s), i. e. E:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\index.js!E:\FeRealProject\gowhere\node_modules\_css-loader@0.28.11@css-loader\index.js??ref--6-1!E:\FeRealProject\gowhere\node_modules\_postcss-loader@2.1.5@postcss-loader\lib\index.js??ref--6-2!e:\FeRealProject\gowhere\node_modules\_swiper@3.4.2@swiper\dist\css\swiper.css @ ./node_modules/_vue-style-loader@3.1.2@vue-style-loader/lib/addStylesClient.js @ ./src/assets/style/reset.css @ ./src/main.js @ multi ./node_modules/_webpack-dev-server@2.11.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js warnings @ client?b989:153 onmessage @ socket.js?6add:41 EventTarget.dispatchEvent @ sockjs.js?cb5d:170 (anonymous) @ sockjs.js?cb5d:883 SockJS._transportMessage @ sockjs.js?cb5d:881 EventEmitter.emit @ sockjs.js?cb5d:86 WebSocketTransport.ws.onmessage @ sockjs.js?cb5d:2957 client?b989:153 ./node_modules/_vue-style-loader@3.1.2@vue-style-loader/lib/listToStyles.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: * E:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\lib\listToStyles.js Used by 1 module(s), i. e. E:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\lib\addStylesClient.js * e:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\lib\listToStyles.js Used by 1 module(s), i. e. e:\FeRealProject\gowhere\node_modules\_vue-style-loader@3.1.2@vue-style-loader\lib\addStylesClient.js @ ./node_modules/_vue-style-loader@3.1.2@vue-style-loader/lib/listToStyles.js @ ./node_modules/_vue-style-loader@3.1.2@vue-style-loader/lib/addStylesClient.js @ ./src/assets/style/reset.css @ ./src/main.js @ multi ./node_modules/_webpack-dev-server@2.11.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
课程紧跟Vue3版本迭代,企业主流版本Vue2+Vue3全掌握
了解课程