|
@@ -12,7 +12,7 @@ document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" fi
|
|
|
document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" file="app/app.styl">' + stylFns['app/app.styl'] + '</style>')
|
|
document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" file="app/app.styl">' + stylFns['app/app.styl'] + '</style>')
|
|
|
|
|
|
|
|
|
|
|
|
|
-globalThis.AppDB = new require 'app/utils/AppDB'
|
|
|
|
|
|
|
+globalThis.AppDB = new require('app/utils/AppDB')
|
|
|
|
|
|
|
|
await globalThis.AppDB.init()
|
|
await globalThis.AppDB.init()
|
|
|
|
|
|
|
@@ -22,6 +22,7 @@ routes = [
|
|
|
#{ path: '/:path*', component: require 'app/pages/DocumentPage' }
|
|
#{ path: '/:path*', component: require 'app/pages/DocumentPage' }
|
|
|
]
|
|
]
|
|
|
globalThis._ = {}
|
|
globalThis._ = {}
|
|
|
|
|
+
|
|
|
# Глобальное определение vuejs приложения
|
|
# Глобальное определение vuejs приложения
|
|
|
globalThis.app = Vue.createApp
|
|
globalThis.app = Vue.createApp
|
|
|
name: 'app'
|
|
name: 'app'
|