Packages

@astrojs/vue

7.1.6 · 13 Nov 2026MIT183.2k / weekRepositoryHomepagenpmAtom feed

Your version

84 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 7.x · latest line
  2. 7.1.6

    13 Nov 2026
    • Unpins @astrojs/* dependencies to allow versions matching the ^ range to be installed

  3. 7.1.3 – 7.1.53 releases that only update dependencies@astrojs/vue-renderer 0.1.1@astrojs/internal-helpers 0.13.2Show each
  4. 7.1.2

    21 Oct 2026
  5. 7.1.1

    19 Oct 2026
    • Fixes Vue SSR concatenating Astro slot HTML character by character when the slot value is a String object (Astro's SlotString). StaticHtml now coerces the value with String(...) before passing it to innerHTML.

  6. 7.1.0

    15 Oct 2026
    • Breaking

      Increases the minimum Node.js version to 22.22.0

      The minimum supported Node.js version is now 22.22.0, the latest Node.js 22 release supported by StackBlitz. This change is in line with Astro's Node.js support policy.

  7. 7.0.3

    16 Sep 2026
    • Fixes Vue render-function components failing to build when @astrojs/react is also enabled. React's renderer check no longer crashes on non-React object components, and Vue's check now recognizes defineComponent() components that use a setup function returning a render function.

  8. 7.0.2

    6 Aug 2026
    • Fix dev server crashes when Vue devtools are enabled with Vite 8.

  9. 7.0.1

    1 Jul 2026
    • Fixes an issue where the peerDependencies field used incorrect dependencies.

  10. 7.0.0

    22 Jun 2026
    • Breaking

      Upgrade to Vite v8

    • Replaces the import entrypoint of getContainerRenderer()

      A new container-renderer entrypoint exporting getContainerRenderer() has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.

      If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the getContainerRenderer() import for React:

      - import { getContainerRenderer } from '@astrojs/react';
      + import { getContainerRenderer } from '@astrojs/react/container-renderer';

      Importing getContainerRenderer() from the package root still works, but is now deprecated and logs a warning.

    • Triggers beta prereleases for packages that are still on alpha

  11. 6.x
  12. 6.0.1

    16 Mar 2026
    • Updates the Astro peerDependencies#astro to be 6.0.0.

  13. 6.0.0

    10 Mar 2026
    • Breaking

      Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)

    • Updates @vitejs/plugin-vue to v6, @vitejs/plugin-vue-jsx to v5, and vite-plugin-vue-devtools to v8. No changes are needed from users.

    • Adds support for arbitrary HTML attributes on Vue components

  14. 5.x
  15. 5.1.4

    7 Jan 2026
    • Adds support for arbitrary HTML attributes on Vue components

  16. 5.1.3

    6 Nov 2025
    • Adds support for client hydration in getContainerRenderer()

      The getContainerRenderer() function is exported by Astro framework integrations to simplify the process of rendering framework components when using the experimental Container API inside a Vite or Vitest environment. This update adds the client hydration entrypoint to the returned object, enabling client-side interactivity for components rendered using this function. Previously this required users to manually call container.addClientRenderer() with the appropriate client renderer entrypoint.

      See the container-with-vitest demo for a usage example, and the Container API documentation for more information on using framework components with the experimental Container API.

  17. 5.1.2

    28 Oct 2025
    • Updates vite version to fix CVE

  18. 5.1.1

    8 Sep 2025
    • Updates vite version to fix CVE

  19. 5.1.0

    22 May 2025
    • Breaking

      Increases minimum Node.js version to 18.20.8

      Node.js 18 has now reached end-of-life and should not be used. For now, Astro will continue to support Node.js 18.20.8, which is the final LTS release of Node.js 18, as well as Node.js 20 and Node.js 22 or later. We will drop support for Node.js 18 in a future release, so we recommend upgrading to Node.js 22 as soon as possible. See Astro's Node.js support policy for more details.

      :warning: Important note for users of Cloudflare Pages: The current build image for Cloudflare Pages uses Node.js 18.17.1 by default, which is no longer supported by Astro. If you are using Cloudflare Pages you should override the default Node.js version to Node.js 22. This does not affect users of Cloudflare Workers, which uses Node.js 22 by default.

  20. 5.0.13

    30 Apr 2025
    • Update vite to latest version for fixing CVE

  21. 5.0.12

    29 Apr 2025
    • Fixes SSR renderer type

  22. 5.0.11

    23 Apr 2025
    • Improves type-safety of renderers

  23. 5.0.10

    14 Apr 2025
    • Update vite to latest version to fix CVE

    • Updates vite to the latest version

  24. 5.0.9

    31 Mar 2025
    • Update vite to the latest version

  25. 5.0.8

    26 Mar 2025
    • Updates the dependency vite to the latest.

  26. 5.0.7

    24 Feb 2025
    • Fixes a case where the compiler could not be resolved automatically

  27. 5.0.6

    20 Jan 2025
    • Upgrades Vite

  28. 5.0.5

    15 Jan 2025
    • Adds a warning message when multiple JSX-based UI frameworks are being used without either the include or exclude property being set on the integration.

  29. 5.0.4

    2 Jan 2025
    • Fixes an issue where TypeScript couldn't infer the correct types of the server.mjs file

  30. 5.0.3

    20 Dec 2024
    • Upgrades Vite to pin esbuild

  31. 5.0.2

    11 Dec 2024
    • Fix vite peer dependency issue for vue integration

  32. 5.0.1

    3 Dec 2024
    • Fixes compatibility with Astro 5

  33. 5.0.0

    3 Dec 2024
    • Breaking

      Updates peer dependency range to support Astro 5

    • Breaking

      Updates Vite dependency to v6 to match Astro v5

    • Removed

      Drops node 21 support

  34. 4.x
  35. 4.5.3

    21 Nov 2024
    • Resolve vite peer dependency problem for strict package managers like Yarn in PnP mode.

  36. 4.5.2

    7 Oct 2024
    • Fixes a case where IDs generated by useId() (introduced in Vue 3.5) would not be unique between islands

    • Fixes an Reference Error that occurred during client transitions

  37. 4.5.1

    17 Sep 2024
    • Fix vue islands keeping their state when using view transition persistence

  38. 4.5.0

    17 Jun 2024
    • Adds a new function called addServerRenderer to the Container API. Use this function to manually store renderers inside the instance of your container.

      This new function should be preferred when using the Container API in environments like on-demand pages:

      import type { APIRoute } from 'astro';
      import { experimental_AstroContainer } from 'astro/container';
      import reactRenderer from '@astrojs/react/server.js';
      import vueRenderer from '@astrojs/vue/server.js';
      import ReactComponent from '../components/button.jsx';
      import VueComponent from '../components/button.vue';
      
      // MDX runtime is contained inside the Astro core
      import mdxRenderer from 'astro/jsx/server.js';
      
      // In case you need to import a custom renderer
      import customRenderer from '../renderers/customRenderer.js';
      
      export const GET: APIRoute = async (ctx) => {
        const container = await experimental_AstroContainer.create();
        container.addServerRenderer({ renderer: reactRenderer });
        container.addServerRenderer({ renderer: vueRenderer });
        container.addServerRenderer({ renderer: customRenderer });
        // You can pass a custom name too
        container.addServerRenderer({
          name: 'customRenderer',
          renderer: customRenderer,
        });
        const vueComponent = await container.renderToString(VueComponent);
        return await container.renderToResponse(Component);
      };
  39. 4.4.0

    6 Jun 2024
    • The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.

      import { experimental_AstroContainer as AstroContainer } from 'astro/container';
      import ReactWrapper from '../src/components/ReactWrapper.astro';
      import { loadRenderers } from 'astro:container';
      import { getContainerRenderer } from '@astrojs/react';
      
      test('ReactWrapper with react renderer', async () => {
        const renderers = await loadRenderers([getContainerRenderer()]);
        const container = await AstroContainer.create({
          renderers,
        });
        const result = await container.renderToString(ReactWrapper);
      
        expect(result).toContain('Counter');
        expect(result).toContain('Count: <!-- -->5');
      });
  40. 4.3.0

    23 May 2024
    • Updates the devtools type to allow passing VueDevToolsOptions

      For more customization, you can pass options that the Vue DevTools Vite Plugin supports. (Note: appendTo is not supported.) For example, you can set launchEditor to your preferred editor if you are not using Visual Studio Code:

      import { defineConfig } from 'astro/config';
      import vue from '@astrojs/vue';
      
      export default defineConfig({
        // ...
        integrations: [
          vue({
            devtools: { launchEditor: 'webstorm' },
          }),
        ],
      });
  41. 4.2.0

    9 May 2024
    • Adds a devtools option

      You can enable the official Vue DevTools while working in development mode by setting devtools:true in your vue() integration config:

      import { defineConfig } from 'astro/config';
      import vue from '@astrojs/vue';
      
      export default defineConfig({
        integrations: [vue({ devtools: true })],
      });
  42. 4.1.0

    11 Apr 2024
    • Deprecated

      Deprecate support for versions of Node.js older than v18.17.1 for Node.js 18, older than v20.0.3 for Node.js 20, and the complete Node.js v19 release line.

      This change is in line with Astro's Node.js support policy.

  43. 4.0.11

    9 Apr 2024
    • Removes unused jsxTransformOptions and jsxImportSource options from the renderer config

  44. 4.0.10

    2 Apr 2024
    • Remove the unnecessary and deprecated @vue/server-renderer package from the ssr.external vite config

  45. 4.0.9

    14 Mar 2024
    • Fixes using images from public inside Vue components not working correctly

  46. 4.0.8

    5 Jan 2024
    • Fixes class property hydration error

    • Fixes a bug that caused styles referenced by appEntrypoint to be excluded from the build

  47. 4.0.7

    2 Jan 2024
    • Fixes support for async appEntrypoint

  48. 4.0.6

    27 Dec 2023
    • Updates README

  49. 4.0.5

    20 Dec 2023
    • Upgrades vite to latest

  50. 4.0.4

    15 Dec 2023
    • Simplifies appEntrypoint handling

  51. 4.0.3

    11 Dec 2023
    • Updates NPM package to refer to the stable Astro version instead of a beta.

  52. 4.0.2

    6 Dec 2023
    • Fixes issue with appEntrypoint when running astro dev

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.