aboutsummaryrefslogtreecommitdiff
path: root/examples/framework-lit
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-lit')
-rw-r--r--examples/framework-lit/astro.config.mjs5
-rw-r--r--examples/framework-lit/package.json2
2 files changed, 4 insertions, 3 deletions
diff --git a/examples/framework-lit/astro.config.mjs b/examples/framework-lit/astro.config.mjs
index c86c77bf7..99733e933 100644
--- a/examples/framework-lit/astro.config.mjs
+++ b/examples/framework-lit/astro.config.mjs
@@ -1,7 +1,8 @@
import { defineConfig } from 'astro/config';
+import lit from '@astrojs/lit';
// https://astro.build/config
export default defineConfig({
- // Enable the lit renderer to support LitHTML components and templates.
- renderers: ['@astrojs/renderer-lit'],
+ // Enable Lit to support LitHTML components and templates.
+ integrations: [lit()],
});
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 4d68428b5..651dbf2ab 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
- "@astrojs/renderer-lit": "^0.4.0",
+ "@astrojs/lit": "^0.0.1",
"astro": "^0.24.3"
}
}