youzan / vant

A lightweight, customizable Vue UI library for mobile web apps.
https://vant.pro/vant/
MIT License
23.16k stars 9.48k forks source link

按需引入 vue-cli3 中不能开启 css.mudules ,否则 组件的样式会无法加载,希望在文档中注明 #2475

Closed lwjcjmx123 closed 5 years ago

lwjcjmx123 commented 5 years ago

IMPORTANT: Please use the following link to create a new issue. If your issue was not created using the app above, it will be closed immediately.

注意:请按照下面的模板来新建 issue,不规范的 issue 会被立即关闭.

Describe the bug A clear description of what the bug is.

Screenshots Add screenshots to help explain your problem.

Environment

Reproduce Provide the steps to reproduce and if possible a minimal demo of the problem via jsfiddle. https://jsfiddle.net/dfarLdko/522/

chenjiahan commented 5 years ago

理论上从 node_modules 里 import 的样式不应该被处理成 css modules 的,建议去 vue-cli3 仓库下提 issue