How does the Mini Program project created by taro refer to the ant design mobile UI library

problem description

the taro project created WeChat Mini Programs, downloaded antd-mobile and babel-plugin-import,react-dom along with the official documents, and configured plugins, but could not reference the styles in the UI library. Why?

the environmental background of the problems and what methods you have tried

related codes

plugins: {

babel: {
  sourceMap: true,
  presets: [
    "env"
  ],
  plugins: [
    "transform-decorators-legacy",
    "transform-class-properties",
    "transform-object-rest-spread",
    ["import", { libraryName: "antd-mobile", style: "true" }]
  ]
},

},
defineConstants: {
},

what result do you expect? What is the error message actually seen?

topic description

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

problem description

the platform version of the problem and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bee597-30936.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bee597-30936.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?