Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue 3 support #10

Open
Benbinbin opened this issue Sep 6, 2021 · 1 comment
Open

Vue 3 support #10

Benbinbin opened this issue Sep 6, 2021 · 1 comment

Comments

@Benbinbin
Copy link

It's possible to support Vue 3?

@surtic86
Copy link

surtic86 commented Jun 26, 2022

@Benbinbin Did you found a alternative for Vue3?

Easy Solution

import { createApp } from 'vue'
import App from './App.vue'

const app = createApp(App)
app.config.globalProperties.$i18n = chrome.i18n.getMessage
app.mount('#app')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants