搭建项目环境

本项目是应用 ReactNative,TypeScript,Mobx等技术开发的一个“美食大全”的项目,基本的环境搭建,大家参照本文基础部分。

expo init rn-cookbooks

然后选择 blank (TypeScript):

? Choose a template: 
  ----- Managed workflow -----
  blank                 a minimal app as clean as an empty canvas 
❯ blank (TypeScript)    same as blank but with TypeScript configuration 
  tabs                  several example screens and tabs using react-navigation 
  ----- Bare workflow -----
  minimal               bare and minimal, just the essentials to get you started 
  minimal (TypeScript)  same as minimal but with TypeScript configuration

启动项目:

cd rn-cookbooks
yarn start

results matching ""

    No results matching ""