diff --git a/.changeset/sweet-needles-juggle.md b/.changeset/sweet-needles-juggle.md index 354dc4a80ff7..d6a2c21c3bee 100644 --- a/.changeset/sweet-needles-juggle.md +++ b/.changeset/sweet-needles-juggle.md @@ -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" + } + }) + ] +}) +```