mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
i18n: translated error message in authProvider.ts
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { onMessage } from 'webext-bridge'
|
||||
// import { onMessage } from 'webext-bridge'
|
||||
import { createApp } from 'vue'
|
||||
import type { App as AppType } from 'vue'
|
||||
import App from './views/App.vue'
|
||||
import { setupApp } from '~/logic/common-setup'
|
||||
import { SVG_ICONS, i18n } from '~/utils'
|
||||
|
||||
let app: AppType | null = null;
|
||||
|
||||
// Firefox `browser.tabs.executeScript()` requires scripts return a primitive value
|
||||
(() => {
|
||||
// console.info('[vitesse-webext] Hello world from content script')
|
||||
@@ -58,8 +61,10 @@ import { SVG_ICONS, i18n } from '~/utils'
|
||||
shadowDOM.appendChild(svgDiv)
|
||||
|
||||
document.body.appendChild(container)
|
||||
const app = createApp(App)
|
||||
app = createApp(App)
|
||||
setupApp(app)
|
||||
app.use(i18n).mount(root)
|
||||
}
|
||||
})()
|
||||
|
||||
export default app as AppType
|
||||
|
||||
Reference in New Issue
Block a user