react-native filled pit (1)

Today rn installed ant-design-mobile went official website read

 

 

According to the official website of the installation method is

```npm install antd-mobile --save```

Then the demand on the error configuration introduces =, =

 

 

1:00 but I want to sleep more than a bed to sleep on the uncomfortable configure up to 4:00 or not hey. . . Or sleep

Next up to the company to re-engage or not suspected version of the problem, really. .

react-native version is installed antd-mobile-rn

 

The first step to install 

antd-mobile-rn

The second step installation 

babel-plugin-import
The third step in the configuration in babel.config.js
module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
  plugins: [['import', { libraryName: 'antd-mobile-rn' }]]
};
Then the introduction of the page you can use the ~
Skull pain

 

Guess you like

Origin www.cnblogs.com/airspace/p/11571588.html