From 05fa9917cda3554855b97e9f145512450076f124 Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Thu, 16 May 2024 17:18:25 +0200 Subject: [PATCH] Update sweet-needles-juggle.md --- .changeset/sweet-needles-juggle.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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" + } + }) + ] +}) +```