Skip to content

Commit

Permalink
docs: update to latest ui-pro
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Oct 5, 2023
1 parent ee4ea3a commit a08dc1b
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 93 deletions.
2 changes: 1 addition & 1 deletion docs/.env.example
@@ -1,5 +1,5 @@
# To use Nuxt UI Pro in production
NUXT_UI_PRO_TOKEN=
NUXT_UI_PRO_LICENSE=

# Used when pre-rendering the docs for dynamic OG images
NUXT_PUBLIC_SITE_URL=
9 changes: 9 additions & 0 deletions docs/app.config.ts
Expand Up @@ -11,6 +11,15 @@ export default defineAppConfig({
outline: 'ring-1 ring-inset ring-gray-700 text-white dark:text-white hover:bg-gray-900 disabled:bg-gray-300 dark:hover:bg-gray-900 dark:disabled:bg-gray-300 focus-visible:ring-2 focus-visible:ring-gray-400 dark:focus-visible:ring-gray-400'
}
}
},
content: {
prose: {
code: {
icon: {
// terminal: 'i-ph-terminal'
}
}
}
}
},
elements: {
Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.get-started/1.installation.md
Expand Up @@ -22,7 +22,7 @@ Before getting started, please **make sure to have installed the recommended set

1. You can start a fresh Nuxt Content project with:

```bash [npx]
```bash [Terminal]
npx nuxi@latest init content-app -t content
```

Expand Down
23 changes: 0 additions & 23 deletions docs/nuxt.config.ts
Expand Up @@ -46,16 +46,6 @@ export default defineNuxtConfig({
// Shortcuts
'/document-driven': { redirect: '/document-driven/introduction' }
},

content: {
highlight: {
preload: ['xml'],
theme: {
default: 'solarized-light',
dark: 'dark-plus'
}
}
},
nitro: {
prerender: {
routes: [
Expand Down Expand Up @@ -93,19 +83,6 @@ export default defineNuxtConfig({
}
},

runtimeConfig: {
public: {
algolia: {
applicationId: '',
apiKey: '',
langAttribute: 'lang',
docSearch: {
indexName: 'content-nuxtjs'
}
}
}
},

hooks: {
// Related to https://github.com/nuxt/nuxt/pull/22558
// Adding all global components to the main entry
Expand Down
8 changes: 4 additions & 4 deletions docs/package.json
Expand Up @@ -10,17 +10,17 @@
},
"dependencies": {
"@iconify-json/ph": "^1.1.6",
"@iconify-json/simple-icons": "^1.1.72",
"@iconify-json/simple-icons": "^1.1.73",
"@nuxt/content": "^2.8.5",
"@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@latest",
"@nuxthq/studio": "^0.14.1",
"@nuxt/ui-pro": "^0.2.1",
"@nuxthq/studio": "^1.0.0",
"@nuxtjs/fontaine": "^0.4.1",
"@nuxtjs/google-fonts": "^3.0.2",
"@nuxtjs/plausible": "^0.2.3",
"@vueuse/core": "^10.4.1",
"@vueuse/nuxt": "^10.4.1",
"nuxt": "^3.7.4",
"nuxt-og-image": "^2.0.28"
"nuxt-og-image": "^2.1.1"
},
"resolutions": {
"h3": "^1.8.2"
Expand Down

0 comments on commit a08dc1b

Please sign in to comment.