在 ReactJS 较为初级的使用 antd-mobile 使用时候直接加载 node_modules 文件中的相关 CSS,这个使用方法效率低;更高明的方法则按需加载,须要设置以下:css
[ "import", { "libraryName": "antd-mobile", "style": "css" } ]
参考:node