File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-es7" ,
3- "version" : " 0.0.19 " ,
3+ "version" : " 0.0.20 " ,
44 "description" : " Example of using React + Reflux + router + ES6 with experimental ES7 syntax + Jest + Semantic-UI" ,
55 "main" : " src/index.js" ,
66 "scripts" : {
3838 "rimraf" : " ^2.3.3"
3939 },
4040 "dependencies" : {
41- "lodash" : " ^3.8.0 " ,
41+ "lodash" : " ^3.9.3 " ,
4242 "react" : " ^0.13.3" ,
4343 "react-router" : " ^0.13.3" ,
4444 "react-semantify" : " ^0.3.1" ,
Original file line number Diff line number Diff line change 1- import React = require ( 'react' ) ;
2- import Router , { Route , DefaultRoute } = require ( 'react-router' ) ;
1+ import React from 'react'
32import { mount } from './app/lib/tools' ;
43
54// For mounting App component into <section id="app"></section> use:
@@ -13,6 +12,8 @@ import App from './app/components/App';
1312import Home from './app/components/Home' ;
1413import About from './app/components/About' ;
1514
15+ import Router , { Route , DefaultRoute } from 'react-router'
16+
1617const routes = (
1718 < Route name = "app" path = "/" handler = { App } >
1819 < Route name = "home" handler = { Home } />
You can’t perform that action at this time.
0 commit comments