mjo-astro-lit
v1.0.1
Published
Use Lit components within Astro, adapted from @astrojs/lit due to was deprecated
Maintainers
Readme
@astrojs/lit 🔥
This Astro integration enables server-side rendering and client-side hydration for your Lit custom elements.
⚠️ Fork Notice
This is a community-maintained fork of the original @astrojs/lit integration.
The original @astrojs/lit integration was officially deprecated by the Astro team. This fork aims to continue providing Lit support for Astro projects by maintaining and improving upon the original codebase.
Important points:
- The original code was created and maintained by the Astro team
- This fork is now maintained by @manujoz
- All credit for the original implementation goes to the Astro Core team
- This version may include bug fixes and improvements not present in the deprecated version
Installation
To install the package, run:
npm install mjo-astro-litThen, apply the integration to your astro.config.* file using the integrations property:
import { defineConfig } from "astro/config";
import lit from "mjo-astro-lit";
export default defineConfig({
integrations: [lit()],
});Support
- For issues specific to this fork, please submit bug reports and feature requests as GitHub issues in this repository.
- For general Astro questions, you can get help in the Astro Discord. Post questions in our
#supportforum. - Check our Astro Integration Documentation for more on integrations.
Contributing
This package is now maintained by @manujoz as a community fork. You're welcome to submit an issue or PR!
Note: This is a fork of the original @astrojs/lit integration that was deprecated by the Astro Core team. All original credit goes to the Astro team.
License
MIT
Copyright (c) 2023–present Astro
