UNPKG

baazjs

Version:
17 lines (14 loc) 713 B
import { combineReducers, createStore } from 'redux'; import { enhancer, reducers } from '@baaz/adapter'; // This is the connective layer between the Peregrine store and the // venia-concept UI. You can add your own reducers/enhancers here and combine // them with the Peregrine exports. // // example: // const rootReducer = combineReducers({ ...reducers, ...myReducers }); // const rootEnhancer = composeEnhancers(enhancer, myEnhancer); // export default createStore(rootReducer, rootEnhancer); const rootReducer = combineReducers({ ...reducers }); //const rootReducer = combineReducers(reducers); // "start": "webpack-dev-server --open --mode development", export default createStore(rootReducer, enhancer);