Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JakiChen committed Nov 15, 2024
2 parents b7c413e + a5eee42 commit 52d03b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ $ npm install astro-svgs
import { defineConfig } from "astro/config";
import svgs from "astro-svgs";

// https://astro.build/config
export default defineConfig({
integrations: [svgs()],
});
Expand All @@ -58,8 +57,8 @@ export default defineConfig({

```js
---
import Icon from 'astro-svgs/Icon.astro';
import Layout from '~/Layouts/Layout.astro';
import Icon from 'astro-svgs/Icon.astro';
---
<Layout>
{/* name is the `file name` of the icon you need*/}
Expand All @@ -81,7 +80,6 @@ All the interfaces are here.
import { defineConfig } from "astro/config";
import svgs from "astro-svgs";

// https://astro.build/config
export default defineConfig({
integrations: [
svgs({
Expand Down

0 comments on commit 52d03b9

Please sign in to comment.