Astro: @astrojs/[email protected] Release

Release date:
October 18, 2022
Previous version:
@astrojs/[email protected] (released September 29, 2022)
Magnitude:
5,877 Diff Delta
Contributors:
18 total committers
Data confidence:
Commits:

122 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored October 13, 2022
Authored October 4, 2022
Authored October 4, 2022
Authored October 6, 2022
Authored October 12, 2022
Authored October 13, 2022
Authored October 3, 2022
Authored September 30, 2022
Authored September 30, 2022
Authored October 3, 2022
Authored October 3, 2022
Authored October 7, 2022
Authored October 7, 2022
Authored September 29, 2022
Authored October 6, 2022
Authored September 30, 2022
Authored October 4, 2022

Top Contributors in @astrojs/[email protected]

ematipico
Princesseuh
tony-sullivan-525d
JuanM04
deeprobin
AirBorne04
Jutanium
yuhang-dong
tony-sull
JLarky

Directory Browser for @astrojs/[email protected]

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Minor Changes

  • #5075 d25f54cb9 Thanks @natemoo-re! - Add support for the appEntrypoint option, which accepts a root-relative path to an app entrypoint. The default export of this file should be a function that accepts a Vue App instance prior to rendering. This opens up the ability to extend the App instance with custom Vue plugins.

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import vue from '@astrojs/vue';
    
    export default defineConfig({
      integrations: [
        vue({
          appEntrypoint: '/src/pages/_app',
        }),
      ],
    });
    
    // src/pages/_app.ts
    import type { App } from 'vue';
    import i18nPlugin from '../plugins/i18n';
    
    export default function setup(app: App) {
      app.use(i18nPlugin, {
        /* options */
      });
    }