From 4a04e679d1c730527c0a5059d33416fe2425cbd0 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 11 Aug 2017 03:13:36 +0900
Subject: [PATCH] [Client] Fix bug

---
 src/web/app/dev/router.js | 4 ++--
 src/web/app/dev/script.js | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/web/app/dev/router.js b/src/web/app/dev/router.js
index 27384cdf63..7fde30fa5c 100644
--- a/src/web/app/dev/router.js
+++ b/src/web/app/dev/router.js
@@ -1,7 +1,8 @@
+import * as riot from 'riot';
 const route = require('page');
 let page = null;
 
-module.exports = me => {
+export default me => {
 	route('/',         index);
 	route('/apps',     apps);
 	route('/app/new',  newApp);
@@ -34,7 +35,6 @@ module.exports = me => {
 	route();
 };
 
-import * as riot from 'riot';
 function mount(content) {
 	if (page) page.unmount();
 	const body = document.getElementById('app');
diff --git a/src/web/app/dev/script.js b/src/web/app/dev/script.js
index 32f0285e17..39d7fc891e 100644
--- a/src/web/app/dev/script.js
+++ b/src/web/app/dev/script.js
@@ -7,7 +7,7 @@ import './style.styl';
 
 require('./tags');
 import init from '../init';
-const route = require('./router');
+import route from './router';
 
 /**
  * init