通用React.js入门
包装:
通用React.js应用程序的简单入门套件,服务器端使用express.js,数据库使用mongoose.js。 使用react-router v4服务器端渲染
简单的项目结构,友好的SEO,快速的性能,易于维护。
带有模块化sass + plop生成器+热重载+服务器端渲染!
让我们开始吧
项目结构
universal - react - starter
client
App // layout + provider + routers components
component // dumb component (stateless component)
container // smart component connected with redux store
index . js // entry point client
main . scss // global styling
reducers . js // config reducer
routes . js // config routes
publ
1