|
|
@@ -11,7 +11,8 @@ document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" fi
|
|
|
document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" file="app/DesignTokens.styl">' + stylFns['app/DesignTokens.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')()
|
|
|
+await globalThis.AppDB.init()
|
|
|
|
|
|
# Маршруты
|
|
|
routes = [
|
|
|
@@ -33,8 +34,6 @@ globalThis.app = Vue.createApp
|
|
|
}
|
|
|
|
|
|
beforeMount: ->
|
|
|
- globalThis.AppDB = new (require 'app/utils/AppDB')()
|
|
|
- await globalThis.AppDB.init()
|
|
|
globalThis._ = @
|
|
|
computed:
|
|
|
currentLanguage: ->
|