mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 21:15:45 +02:00
wip
This commit is contained in:
@@ -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 {};
|
||||
Reference in New Issue
Block a user