React-Native(rn-cinema)
10
1、初始化项目
npx create-expo-app@latest 2、删除多余的示例代码
npm run reset-project3、安装tailwindcss 相关ui依赖
参考: https://www.nativewind.dev/docs/getting-started/installation
4、配置 Stack 导航并隐藏头部
移除默认首页内容,配置 (tabs) 和 movies/[id] 页面不显示 header。同时删除了未使用的图片资源,并扩展 Tailwind 配置添加自定义颜色主题。

ps: 当访问不了TMDB电影API时候,尝试打开隧道 命令
yarn expo start --lan --clear
用到的三方库:
https://github.com/callstack/masked-view
@react-native-masked-view/masked-view