Skip to content

Commit

Permalink
Fix package name refs in README
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonaaron committed Jan 2, 2024
1 parent 0af6455 commit 88efc82
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## [Unreleased]

- Fix README package references

## [1.0.3] - 2024-01-02

- Astro add expects a default export
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -27,17 +27,17 @@ Then add `is:inline is:embeded` to any script tag. The source can be to a packag
First install it:

```
npm install @brandonaaron/astro-embed-script
npm install @brandonaaron/astro-script-embed
```

Update your Astro config to import and include the 'astroEmbedScript' integration:

```
import { astroEmbedScript } from '@brandonaaron/astro-embed-script'
import scriptEmbed from '@brandonaaron/astro-script-embed'
export default defineConfig({
//...
integrations: [astroEmbedScript()],
integrations: [scriptEmbed()],
//...
})
```

0 comments on commit 88efc82

Please sign in to comment.