Skip to content

Commit

Permalink
Update sweet-needles-juggle.md
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre authored May 16, 2024
1 parent 70c45d1 commit 05fa991
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .changeset/sweet-needles-juggle.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,20 @@
"@astrojs/vue": minor
---

expose VueDevToolsOptions to allow non-default launchEditor
Updates the `devtools` type to allow passing a boolean or `VueDevToolsOptions`. This is useful to set `launchEditor` if you're not using Visual Studio Code for example:

```js
import { defineConfig } from "astro/config"
import vue from "@astrojs/vue"

export default defineConfig({
integrations: [
vue({
// devtools: true is equivalent to {}
devtools: {
launchEditor: "webstorm"
}
})
]
})
```

0 comments on commit 05fa991

Please sign in to comment.