# Electron use vue devtools

```
import installExtension, { VUEJS3_DEVTOOLS } from 'electron-devtools-installer';


  private async installExtensions(): Promise<void>{
    for(const extension of [VUEJS3_DEVTOOLS]){
      try{
        const name = await installExtension(extension);
        console.log(`Extension "${name}" successfully installed.`);
      }catch(e){
        console.error(`Error while installing extension "${extension}".`, e);
      }
    }
  }
  
  public async start() {
    app.on("ready", async () => {
      if (isDev) {
        await installExtensions();
      }
    createWindow();

  }
```
