-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Browser extension V3 Manifest devtool #550
Comments
https://devtools-next.vuejs.org/guide/browser-extension We have a beta version. |
I did try it, but it's not working on my browser extension. I mean while developing an extension and trying to use the tool on the popup, it doesnt work. |
I see, which framework are you using? |
You mean what Vue version? Vue 3 |
Is your issue that it’s not possible to use Vue Devtools while developing browser extensions? If that’s the case, we already have support for |
That's a great framework to look into! |
I guess you can config by devtools https://devtools-next.vuejs.org/help/faq#how-to-work-with-wxt // wxt.config.ts
import { defineConfig } from 'wxt'
import vue from '@vitejs/plugin-vue'
import devtools from 'vite-plugin-vue-devtools'
export default defineConfig({
vite: () => ({
plugins: [
vue(),
devtools({
// your app entrypoint (wherever you call createApp())
appendTo: '/entrypoints/popup/main.ts',
}),
],
}),
}) |
Hey @alexzhang1030 , Thank for your message, my guess that this is for vite, I am looking for native Vue 3, something to use in vue.config.js. Please let me know if you have any idea! |
We plan to support webpack users, but now you can only use the For the docs click here |
Hey bro, it's glad to see that you plan to support webpack! |
You can use a |
Standalone doesn't work because extensions don't allow 'unsafe-eval' anymore, and it is required for the standalone devtool to work. |
Can you share your minimal project setup? I will try to solve it on my local. |
What portion would you like me to give you, because I can't share the project, I have just a vue.config.js where I configured what to build and what to do like manual, no framework just simple Vue 3. |
Will there be support for browser extensions?
I create chrome extensions and I find it difficult to not have the devtool. I tried to use the "standalone" version but in manifest V3 unsafe-eval is kind of banned? so we cannot unsafe-eval to use the standalone app.
Let me know if you guys have any other solutions I really need the devtool haha.
The text was updated successfully, but these errors were encountered: