Install $ npm install rn-tailwind && npm install tailwindcss -D Notice 如果项目里面修改了tailwind.config.js文件,修改完毕后记得执行npm install命令来重新生成styles.json rn样式文件