From 50f88fe1200c0b8f43c74a2558af8153fa1b4608 Mon Sep 17 00:00:00 2001 From: Cris Ward Date: Fri, 28 Apr 2023 08:09:51 +0100 Subject: [PATCH] Readme updated --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 104e415..5a2bf69 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ npm install svelte-tag ``` ```javascript -import component from "svelte-tag" +import Component from "svelte-tag" import App from "your-app.svelte" -new component({component:App,tagname:"hello-world",href="/your/stylesheet.css",attributes:["name"]}) +new Component({component:App,tagname:"hello-world",href="/your/stylesheet.css",attributes:["name"]}) ``` Now anywhere you use the `` tag you'll get a svelte app. Obviously you can set your tag name to anything containing a dash.