diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-10 17:01:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-10 17:01:32 +0900 |
| commit | c869883d76455844e8d56ec4e863c6405489f897 (patch) | |
| tree | e5dfbe0b10cf5b208a2d008d3bd51c3e7675e258 /src/web/app/init.ts | |
| parent | wip (diff) | |
| download | sharkey-c869883d76455844e8d56ec4e863c6405489f897.tar.gz sharkey-c869883d76455844e8d56ec4e863c6405489f897.tar.bz2 sharkey-c869883d76455844e8d56ec4e863c6405489f897.zip | |
wip
Diffstat (limited to 'src/web/app/init.ts')
| -rw-r--r-- | src/web/app/init.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/app/init.ts b/src/web/app/init.ts index 20ea1df8b2..3ae2a8adcd 100644 --- a/src/web/app/init.ts +++ b/src/web/app/init.ts @@ -70,6 +70,9 @@ export default (callback: (os: MiOS, launch: () => Vue) => void, sw = false) => // アプリ基底要素マウント document.body.innerHTML = '<div id="app"></div>'; + // Register global components + require('./common/views/components'); + const launch = () => { return new Vue({ router: new VueRouter({ |