yuthelloworld / vortex-react Goto Github PK
View Code? Open in Web Editor NEW🐠 A react starter kit. Redux or mobx, react-router-dom, webpack3, all is in.
Home Page: https://yuthelloworld.github.io/vortex-react/
License: MIT License
🐠 A react starter kit. Redux or mobx, react-router-dom, webpack3, all is in.
Home Page: https://yuthelloworld.github.io/vortex-react/
License: MIT License
当前我看你用了类似ducks的文件组织形式,但动态注入reducer似乎并不能懒加载modules文件
There should be a page that describes customizing the component tag that is rendered. A great example would be a snippet that documents how to use this with a React Router Link.
import React from 'react';
import { Link } from 'react-router';
import { Container, Row, Col, Nav, NavItem, NavLink } from 'reactstrap';
const Example = (props) => {
return (
<NavItem>
<NavLink tag={Link} to="/test" activeClassName="active">
{props.item.name}
</NavLink>
</NavItem>
);
};
大家可以在这里讨论下
可以申领~
Mobx文档:http://cn.mobx.js.org/
The project is apparently excellent, but I would like to read more about it in the documentation.
I wonder if you think about putting SSR.
withRouter用来包裹一个组件,会将最近的Router对应的RouterContext的props传递给被包裹的组件,如{location,route, params}等。参考:https://reacttraining.com/react-router/web/api/withRouter
添加 ?url=false 到css-loader后
:e.g: ['css-loader?url=false', 'sass-loader'] ...
您好。刚开始学redux。很喜欢您这套脚手架。让我熟悉了redux的数据流是如何工作的。感谢您的帮助。
在这儿冒昧的向您请教一下。如果要做权限配置。根据是否登录分配路由访问权限。显示不同内容(登录状态和非登录状态)。应该如何配置layout和router。?
囧
不用在webpack.config.js里面设置output.chunkfilename吗?
如题。这个脚手架会在后期加入代理么?主要是方便前后端数据调试。或者是如何在本项目基础上配置代理插件
nginx配置如下
server{
listen 8001;
server_name 127.0.0.1; //这里可以改成服务器地址
location / {
proxy_pass http://127.0.0.1:3000;
}
}
打来的网址是: http://localhost:8081?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.