美文网首页
RN开发结构

RN开发结构

作者: 李博洋li | 来源:发表于2018-05-14 17:14 被阅读0次
|
| -------android
| -------ios
| -------node_modules
| -------babelrc
| -------App.js
| -------app.json
| -------package.json
| -------yarn-error.js
| -------yarn.lock
| -------index.js


| -------src

| -------project   |--- common    | --- nav.js
                                    | --- footer.js
                                    | --- header.js

                     |---router    ...

                     |---view      ...

                     |---components      ...

| -------config      //全局配置

| -------api    //网络请求配置

| -------constaints    //常量定义

| -------helpers    //数据来源

| -------utils

| -------redux        //store

| -------static      |---img
                     |---icon
                     |---css
                     |---js
                     |---file

| -------common      |---filter
                     |---model
                     |---config

相关文章

网友评论

      本文标题:RN开发结构

      本文链接:https://www.haomeiwen.com/subject/lgxnrftx.html