wip
This commit is contained in:
parent
fe1d6a1b09
commit
7d377925a0
15 changed files with 115 additions and 26 deletions
|
|
@ -12,6 +12,9 @@ import init from '../init';
|
|||
* init
|
||||
*/
|
||||
init((launch) => {
|
||||
// Register directives
|
||||
require('./views/directives');
|
||||
|
||||
// http://qiita.com/junya/items/3ff380878f26ca447f85
|
||||
document.body.setAttribute('ontouchstart', '');
|
||||
|
||||
|
|
|
|||
6
src/web/app/mobile/views/directives/index.ts
Normal file
6
src/web/app/mobile/views/directives/index.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
import userPreview from './user-preview';
|
||||
|
||||
Vue.directive('userPreview', userPreview);
|
||||
Vue.directive('user-preview', userPreview);
|
||||
2
src/web/app/mobile/views/directives/user-preview.ts
Normal file
2
src/web/app/mobile/views/directives/user-preview.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
// nope
|
||||
export default {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue