Skip to content

Commit 3b8d78f

Browse files
committed
feat: create online playground on stackblitz
1 parent 34f6390 commit 3b8d78f

File tree

5 files changed

+30
-5
lines changed

5 files changed

+30
-5
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ In other words - `$fetch` and `useFetch` on steroids. Uses awesome [openapi-type
2727
2828
- [ Release Notes](/CHANGELOG.md)
2929
- [📖  Read the documentation](https://nuxt-open-fetch.norbiros.dev/)
30-
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
31-
<!-- - [📖 &nbsp;Documentation](https://example.com) -->
30+
- [👾 &nbsp;Playground](https://stackblitz.com/github/Norbiros/nuxt-open-fetch/tree/main/playground?file=app.vue)
3231

3332
## Features
3433

docs/app/app.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ export default defineAppConfig({
6565
label: 'Nuxt Website',
6666
to: 'https://nuxt.com',
6767
target: '_blank',
68+
}, {
69+
icon: 'i-lucide-puzzle',
70+
label: 'Playground',
71+
to: 'https://stackblitz.com/github/Norbiros/nuxt-open-fetch/tree/main/playground?file=app.vue',
72+
target: '_blank',
6873
}],
6974
},
7075
},

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,8 @@
8080
"listhen": "^1.9.0",
8181
"nuxt": "^4.0.0",
8282
"ofetch": "^1.4.1"
83+
},
84+
"resolutions": {
85+
"@norbiros/nuxt-auto-form": "workspace:*"
8386
}
8487
}

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "vitest"
1010
},
1111
"dependencies": {
12-
"nuxt-open-fetch": "workspace:*"
12+
"nuxt-open-fetch": "latest"
1313
},
1414
"devDependencies": {
1515
"@nuxt/test-utils": "^3.19.2",

pnpm-lock.yaml

Lines changed: 20 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)