創建react-native項目

1、刪除C:\Users\user\.yarnrc,C:\Users\user\.node_repl_history這兩個文件 2、命令行中輸入:react-native init demo 3、cd demo 4、react-native run-android 5、第一次等待編譯完成 6、本地訪問這個頁面:http://localhost:8081/index.android.bundle?p
相關文章
相關標籤/搜索