add omi router

This commit is contained in:
dntzhang 2018-11-07 16:19:22 +08:00
parent c72c586722
commit 41480304a2
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@
"jest": "20.0.4",
"object-assign": "4.1.1",
"omi": "latest",
"omi-router": "^2.0.4",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.8",
"prettier": "^1.14.3",

View File

@ -1,4 +1,5 @@
import { render } from 'omi'
import 'omi-router'
import './assets/index.css'
import './elements/app'
import registerServiceWorker from './assets/register-service-worker'