@astrojs/vite-plugin-astro
v0.1.3
Published
Vite plugin for the Astro component language.
Readme
@astrojs/vite-plugin-astro
A Vite plugin for the Astro component language. It compiles .astro files in any Vite project, and your server code renders them with renderToString() or renderToResponse() from @astrojs/runtime, including their scoped styles, scripts, and framework islands. It also exposes its configuration (root, publicDir, site, compressHTML, trailingSlash, renderers, and client directives) to other plugins through api.astro. See API.md for the plugin API.
Documentation
Read the @astrojs/vite-plugin-astro docs
Support
- Get help in the Astro Discord. Post questions in our
#supportforum, or visit our dedicated#devchannel to discuss current development and more! - Submit bug reports and feature requests as GitHub issues.
Contributing
This package is maintained by Astro's Core team. You're welcome to submit an issue or PR! These links will help you get started:
License
MIT
Copyright (c) 2023–present Astro
