Skip to content

Commit

Permalink
docs: update component path
Browse files Browse the repository at this point in the history
  • Loading branch information
Cweili committed Jan 5, 2024
1 parent 2a0a275 commit 87c229d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './build'
path: "./build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ npm install svelte-fa -D
You may need to import the component explicitly as below:

```js
import Fa from 'svelte-fa/src/fa.svelte'
import Fa from 'svelte-fa/dist/fa.svelte'
import { faCaretDown, faCaretUp } from '@fortawesome/free-solid-svg-icons/index.es'
```

Expand Down
2 changes: 1 addition & 1 deletion src/routes/components/sections/codes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const codes = {
`npm install @fortawesome/free-solid-svg-icons
npm install @fortawesome/free-brands-svg-icons`,
"npm install svelte-fa -D",
`import Fa from 'svelte-fa/src/fa.svelte'
`import Fa from 'svelte-fa/dist/fa.svelte'
import { faCaretDown, faCaretUp } from '@fortawesome/free-solid-svg-icons/index.es'`,
`// app.d.ts
declare module '@fortawesome/pro-solid-svg-icons/index.es' {
Expand Down

0 comments on commit 87c229d

Please sign in to comment.