From 2a2484296f612acb97e563858f2fd10e57f21d78 Mon Sep 17 00:00:00 2001 From: Patrick Nelson Date: Mon, 4 Dec 2023 20:34:04 -0800 Subject: [PATCH] Issue #34: Refinements to demos. Include new "attributes: true" capability. --- demo/hello-world/src/main.js | 1 + demo/vercel/src/main.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/hello-world/src/main.js b/demo/hello-world/src/main.js index 856f9e0..836e8bd 100644 --- a/demo/hello-world/src/main.js +++ b/demo/hello-world/src/main.js @@ -4,4 +4,5 @@ import HelloWorld from './HelloWorld.svelte'; svelteRetag({ component: HelloWorld, tagname: 'hello-world', + attributes: true, }); diff --git a/demo/vercel/src/main.js b/demo/vercel/src/main.js index 3d17f48..77fa003 100644 --- a/demo/vercel/src/main.js +++ b/demo/vercel/src/main.js @@ -21,7 +21,7 @@ autoDefine(import.meta.glob('./**/*.svelte', { eager: true }), { // In case we encounter components that are only a single word, we must have a prefix or suffix to add. suffix: 'tag', }, () => { - // Extend with additional options, if desired. + // Extend with additional options on a per-tag basis, if desired. See usage below. return { debugMode, hydratable,