Skip to content

Commit a08dc1b

Browse files
committed
docs: update to latest ui-pro
1 parent ee4ea3a commit a08dc1b

File tree

6 files changed

+107
-93
lines changed

6 files changed

+107
-93
lines changed

docs/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# To use Nuxt UI Pro in production
2-
NUXT_UI_PRO_TOKEN=
2+
NUXT_UI_PRO_LICENSE=
33

44
# Used when pre-rendering the docs for dynamic OG images
55
NUXT_PUBLIC_SITE_URL=

docs/app.config.ts

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ export default defineAppConfig({
1111
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'
1212
}
1313
}
14+
},
15+
content: {
16+
prose: {
17+
code: {
18+
icon: {
19+
// terminal: 'i-ph-terminal'
20+
}
21+
}
22+
}
1423
}
1524
},
1625
elements: {

docs/content/1.get-started/1.installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Before getting started, please **make sure to have installed the recommended set
2222

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

25-
```bash [npx]
25+
```bash [Terminal]
2626
npx nuxi@latest init content-app -t content
2727
```
2828

docs/nuxt.config.ts

-23
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@ export default defineNuxtConfig({
4646
// Shortcuts
4747
'/document-driven': { redirect: '/document-driven/introduction' }
4848
},
49-
50-
content: {
51-
highlight: {
52-
preload: ['xml'],
53-
theme: {
54-
default: 'solarized-light',
55-
dark: 'dark-plus'
56-
}
57-
}
58-
},
5949
nitro: {
6050
prerender: {
6151
routes: [
@@ -93,19 +83,6 @@ export default defineNuxtConfig({
9383
}
9484
},
9585

96-
runtimeConfig: {
97-
public: {
98-
algolia: {
99-
applicationId: '',
100-
apiKey: '',
101-
langAttribute: 'lang',
102-
docSearch: {
103-
indexName: 'content-nuxtjs'
104-
}
105-
}
106-
}
107-
},
108-
10986
hooks: {
11087
// Related to https://github.com/nuxt/nuxt/pull/22558
11188
// Adding all global components to the main entry

docs/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
},
1111
"dependencies": {
1212
"@iconify-json/ph": "^1.1.6",
13-
"@iconify-json/simple-icons": "^1.1.72",
13+
"@iconify-json/simple-icons": "^1.1.73",
1414
"@nuxt/content": "^2.8.5",
15-
"@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@latest",
16-
"@nuxthq/studio": "^0.14.1",
15+
"@nuxt/ui-pro": "^0.2.1",
16+
"@nuxthq/studio": "^1.0.0",
1717
"@nuxtjs/fontaine": "^0.4.1",
1818
"@nuxtjs/google-fonts": "^3.0.2",
1919
"@nuxtjs/plausible": "^0.2.3",
2020
"@vueuse/core": "^10.4.1",
2121
"@vueuse/nuxt": "^10.4.1",
2222
"nuxt": "^3.7.4",
23-
"nuxt-og-image": "^2.0.28"
23+
"nuxt-og-image": "^2.1.1"
2424
},
2525
"resolutions": {
2626
"h3": "^1.8.2"

0 commit comments

Comments
 (0)