【文件属性】:
文件名称:boilerplate-for-react:样板,用于通过react-auth-navigation做出React
文件大小:810KB
文件格式:ZIP
更新时间:2021-05-05 03:56:49
react boilerplate react-auth-navigation JavaScript
React的样板
带有react-auth-navigaton的react应用的官方样板
Redux整合
对于redux集成,请使用以下代码替换index.js文件:
import React from " react " ;
import ReactDOM from " react-dom " ;
import { createStore, applyMiddleware } from " redux " ;
import { Provider } from " react-redux " ;
import thunk from " redux-thunk " ;
import reducers from " ./reducers/Reducers " ;
import AppWithRouter from " ./components/app/App " ;
import " ./s
【文件预览】:
boilerplate-for-react-master
----public()
--------manifest.json(492B)
--------index.html(2KB)
--------robots.txt(67B)
--------favicon.ico(3KB)
--------logo512.png(9KB)
--------logo192.png(5KB)
----patchAnimation.patch.js(523B)
----src()
--------utils()
--------components()
--------helpers()
--------config()
--------assets()
--------actions()
--------sass()
--------index.js(237B)
--------reducers()
----README.md(4KB)
----.gitignore(310B)
----.prettierrc.js(120B)
----package-lock.json(676KB)
----package.json(1KB)