mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-07-12 21:06:28 +08:00
Added base webpack configuration and needed shellscripts.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# About this folder
|
||||
This folder will hold all of your **flux** datasources.
|
||||
You can include them into your components or stores like this:
|
||||
|
||||
```javascript
|
||||
let react = require('react/addons');
|
||||
let MySource = require('sources/MyAction');
|
||||
class MyComponent extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
MySource.getRemoteData();
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user