Skip to content

Commit

Permalink
feat: search api
Browse files Browse the repository at this point in the history
  • Loading branch information
icai committed Nov 1, 2024
1 parent b6a28a4 commit 5003bb1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/.vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ export const shared = defineConfig({
socialLinks: [
{ icon: 'github', link: 'https://github.com/nuecms/nueui' }
],

search: {
provider: 'algolia',
options: {
appId: '8J64VVRP8K',
apiKey: '52f578a92b88ad6abde815aae2b0ad7c',
indexName: 'vitepress',
appId: 'N5BJZE25C1',
apiKey: '87da9a1ba26a2ca02c457887a53b115d',
indexName: 'nueui',
locales: {
...zhSearch,
...ptSearch,
Expand All @@ -72,6 +71,6 @@ export const shared = defineConfig({
}
},

carbonAds: { code: 'CEBDT27Y', placement: 'vuejsorg' }
// carbonAds: { code: 'CEBDT27Y', placement: 'vuejsorg' }
}
})

0 comments on commit 5003bb1

Please sign in to comment.