You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have figured out how to use vue3 in chrome extension + webpack. hope it can be added as a template.
only vue.runtime.esm-bundler.js can work since Chrome MV3 cannot do eval or inline scripting.
SFC will be translated into js, html & css so it can work greatly with MV3.
I have figured out how to use vue3 in chrome extension + webpack. hope it can be added as a template.
only
vue.runtime.esm-bundler.js
can work since Chrome MV3 cannot do eval or inline scripting.SFC will be translated into js, html & css so it can work greatly with MV3.
npm package dependencies
webpack.config.js
VueLoaderPlugin
webpack.DefinePlugin({ __VUE_OPTIONS_API__: true, __VUE_PROD_DEVTOOLS__: true })
.vue
(byvue-loader
)resolve.alias.vue$
=vue.runtime.esm-bundler.js
is required.App.vue
popup.js
.js
file. This is just to load theApp
fromApp.vue
popup.html
div#app
is required andpopup.js
will load theApp.vue
into it.The text was updated successfully, but these errors were encountered: