Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
crisward committed Apr 28, 2023
1 parent 944491d commit 50f88fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<hello-world>` tag you'll get a svelte app. Obviously you can set
your tag name to anything containing a dash.
Expand Down

0 comments on commit 50f88fe

Please sign in to comment.