Skip to content

How do I install vue-devtools? #906

Answered by cawa-93
Imaginativeone asked this question in Q&A
Discussion options

You must be logged in to vote

/**
* Install Vue.js or any other extension in development mode only.
* Note: You must install `electron-devtools-installer` manually
*/
// if (import.meta.env.DEV) {
// app.whenReady()
// .then(() => import('electron-devtools-installer'))
// .then(({default: installExtension, VUEJS3_DEVTOOLS}) => installExtension(VUEJS3_DEVTOOLS, {
// loadExtensionOptions: {
// allowFileAccess: true,
// },
// }))
// .catch(e => console.error('Failed install extension:', e));
// }

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by cawa-93
Comment options

You must be logged in to vote
1 reply
@cawa-93
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants