mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	Заменил redux-simple-router на react-router-redux (пакет переименовался). Добавил пакетов в vendor.js
This commit is contained in:
		| @@ -22,12 +22,12 @@ | ||||
|     "react-dom": "^0.14.3", | ||||
|     "react-height": "^2.0.3", | ||||
|     "react-helmet": "^2.3.1", | ||||
|     "react-intl": "^2.0.0-beta-2", | ||||
|     "react-intl": "=2.0.0-beta-2", | ||||
|     "react-motion": "^0.3.1", | ||||
|     "react-redux": "^4.0.0", | ||||
|     "react-router": "^2.0.0-rc5", | ||||
|     "react-router-redux": "^2.1.0", | ||||
|     "redux": "^3.0.4", | ||||
|     "redux-simple-router": "^2.0.0", | ||||
|     "redux-thunk": "^1.0.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| import React, { Component } from 'react'; | ||||
| import { connect } from 'react-redux'; | ||||
| import { routeActions } from 'redux-simple-router'; | ||||
| import { routeActions } from 'react-router-redux'; | ||||
|  | ||||
| import { FormattedMessage as Message } from 'react-intl'; | ||||
| import Helmet from 'react-helmet'; | ||||
|   | ||||
| @@ -13,7 +13,7 @@ import { Provider as ReduxProvider } from 'react-redux'; | ||||
| import thunk from 'redux-thunk'; | ||||
|  | ||||
| import { Router, browserHistory } from 'react-router'; | ||||
| import { syncHistory, routeReducer } from 'redux-simple-router'; | ||||
| import { syncHistory, routeReducer } from 'react-router-redux'; | ||||
|  | ||||
| import { IntlProvider } from 'react-intl'; | ||||
|  | ||||
|   | ||||
| @@ -37,16 +37,22 @@ var webpackConfig = { | ||||
|     entry: { | ||||
|         app: path.join(__dirname, 'src'), | ||||
|         vendor: [ | ||||
|             'babel-polyfill', | ||||
|             'classnames', | ||||
|             'history', | ||||
|             'intl-format-cache', | ||||
|             'intl-messageformat', | ||||
|             'react', | ||||
|             'react-dom', | ||||
|             'react-height', | ||||
|             'react-helmet', | ||||
|             'react-intl', | ||||
|             'react-motion', | ||||
|             'react-redux', | ||||
|             'react-router', | ||||
|             'redux-simple-router', | ||||
|             'react-router-redux', | ||||
|             'redux', | ||||
|  | ||||
|             // I18n | ||||
|             'intl-format-cache', | ||||
|             'intl-messageformat' | ||||
|             'redux-thunk' | ||||
|         ] | ||||
|     }, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user