错误:
Starting development server...
10% building 2/2 modules 0 activei 「wds」: Project is running at http://localhost:9530/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from E:\works\SendMsg2WechatNewComer\ykq-tuangou-html\public
i 「wds」: 404s will fallback to /index.html
69% building 5904/5945 modules 41 active ...les\readable-stream\writable-browser.js
先网上各种说网络设备配置不行,后来发现代码还原后,可以正常编译,后面找到原因:
vue文件中使用的scss,用了一下格式写css就有问题
&.right-align {
justify-content: flex-end;
}
使用以下就可以:
&.right {
justify-content: flex-end;
}
总结:&后的css选择器名字不要用 “-”