Astro Integration
Installation
bash
npm i -D @vue-macros/astro
bash
yarn add -D @vue-macros/astro
bash
pnpm add -D @vue-macros/astro
Configuration
ts
import Vue from '@astrojs/vue'
import Macros from '@vue-macros/astro'
import { defineConfig } from 'astro/config'
export default defineConfig({
integrations: [
Vue(),
Macros({
// overrides config options
}),
],
})
TypeScript Support & Volar Support
See the corresponding chapter on Bundler Integration
🎉 Congratulations! That's all.
To learn more about the macros, please visit All Macros 😆.