withastro / roadmap

Ideas, suggestions, and formal RFC proposals for the Astro project.
292 stars 29 forks source link

Integration System #138

Closed FredKSchott closed 2 years ago

FredKSchott commented 2 years ago

Summary

An integration system for extending Astro.

// astro.config.js
export default ({
  integrations: [
    import('@astrojs/vue'),
    import('@astrojs/tailwind'),
    [import('@astrojs/partytown'), {/* options */}],
  ],
});

// Static imports are also supported, 
// for users who want type checking.
// import vuePlugin from '@astrojs/vue';

Walkthrough from Tuesday, March 7:

Links

matthewp commented 2 years ago

I really like it. Some questions about details. Tacit approval from me assuming the details can be ironed out.

bholmesdev commented 2 years ago

RFC call notes: 03-15-2022