Skip to content

Commit

Permalink
docs: clean up (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Apr 12, 2024
1 parent 9bbcbe1 commit 9c2e077
Show file tree
Hide file tree
Showing 7 changed files with 518 additions and 181 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ npx nuxi@latest module add @nuxt/scripts

Done! You can now start using Nuxt Scripts in your Nuxt app.

Check out the [📖   docs](#docs) or these resources to get started:
- [👉   Script Registry](#registry)
- [👉   useScript](https://unhead.unjs.io/usage/composables/use-script)
Check out the [📖  docs](https://nuxt-scripts.vercel.app/) or these resources to get started:
- [👉  Script Registry](https://nuxt-scripts.vercel.app/scripts)
- [👉  useScript](https://unhead.unjs.io/usage/composables/use-script)

## License

Expand Down
6 changes: 3 additions & 3 deletions docs/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineAppConfig({
header: {
links: [{
'icon': 'i-simple-icons-github',
'to': 'https://github.com/nuxt-hub/core',
'to': 'https://github.com/nuxt/scripts',
'target': '_blank',
'aria-label': 'Nuxt Scripts',
}],
Expand All @@ -29,11 +29,11 @@ export default defineAppConfig({
title: 'Table of Contents',
bottom: {
title: 'Community',
edit: 'https://github.com/nuxt-hub/core/edit/main/docs/content',
edit: 'https://github.com/nnuxt/scripts/edit/main/docs/content',
links: [{
icon: 'i-heroicons-star',
label: 'Star on GitHub',
to: 'https://github.com/nuxt-hub/core',
to: 'https://github.com/nuxt/scripts',
target: '_blank',
}, {
icon: 'i-simple-icons-nuxtdotjs',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<script lang="ts" setup>
defineOptions({
inheritAttrs: false,
})
defineProps({
title: {
type: String,
Expand Down
2 changes: 1 addition & 1 deletion docs/content/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ hero:
size: lg
color: gray
variant: ghost
to: https://github.com/nuxt-hub/core
to: https://github.com/nuxt/scripts
target: _blank
features:
- name: Automatic scaling
Expand Down
4 changes: 0 additions & 4 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ export default defineNuxtConfig({
autoSubfolderIndex: false,
},
},
cloudflareAnalytics: {
token: '469b1f7049f14941acef0d0262a07ab3',
scriptPath: false,
},
devtools: {
enabled: true,
},
Expand Down
5 changes: 1 addition & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@
"@nuxt/image": "^1.5.0",
"@nuxt/ui-pro": "^1.1.0",
"@nuxthq/studio": "^1.0.13",
"@nuxtjs/plausible": "^1.0.0",
"@vueuse/core": "^10.9.0",
"@vueuse/nuxt": "^10.9.0",
"medium-zoom": "^1.1.0",
"nuxt": "^3.11.2",
"nuxt-cloudflare-analytics": "^1.0.8",
"nuxt-og-image": "^2.2.4"
"nuxt-og-image": "3.0.0-rc.52"
}
}
Loading

0 comments on commit 9c2e077

Please sign in to comment.