Skip to content

redye/React

Repository files navigation

React

制作过程

{
	"name": "Demo",
	"version": "1.0.0",
	"private": true,
	"scripts": {
	},
	"dependencies": {
		"react": "15.5.4",
		"react-native": "0.42.0",
	}
}

安装完node_modules之后,取react-native文件夹中所有文件,复制到当前目录下,然后修改React.podspec文件中的版本号和source,其中podspec文件需要手动复制到spec中,并且复制react-native文件中的package.json文件夹。