Added basic search bar
This commit is contained in:
parent
6cb1cd0b47
commit
966b522b65
|
|
@ -4,13 +4,34 @@ import type { DefaultThemeOptions } from "vuepress"
|
||||||
export default defineUserConfig<DefaultThemeOptions>({
|
export default defineUserConfig<DefaultThemeOptions>({
|
||||||
title: "YTMusic API",
|
title: "YTMusic API",
|
||||||
description: "Unofficial YouTube Music API for TypeScript",
|
description: "Unofficial YouTube Music API for TypeScript",
|
||||||
|
plugins: [
|
||||||
|
[
|
||||||
|
"@vuepress/plugin-search",
|
||||||
|
{
|
||||||
|
locales: {
|
||||||
|
"/": {
|
||||||
|
placeholder: "Search"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
repo: "zS1L3NT/ts-npm-ytmusic-api",
|
repo: "zS1L3NT/ts-npm-ytmusic-api",
|
||||||
editLink: false,
|
editLink: false,
|
||||||
navbar: [
|
navbar: [
|
||||||
{ text: "Home", link: "/" },
|
{
|
||||||
{ text: "Guides", link: "/guides/getting-started.html" },
|
text: "Home",
|
||||||
{ text: "References", link: "/references/ytmusic.html" }
|
link: "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: "Guides",
|
||||||
|
link: "/guides/getting-started.html"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: "References",
|
||||||
|
link: "/references/ytmusic.html"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
"@types/mocha": "^9.1.0",
|
"@types/mocha": "^9.1.0",
|
||||||
"@types/node": "^17.0.23",
|
"@types/node": "^17.0.23",
|
||||||
"@types/tough-cookie": "^4.0.1",
|
"@types/tough-cookie": "^4.0.1",
|
||||||
|
"@vuepress/plugin-search": "^2.0.0-beta.36",
|
||||||
"mocha": "^9.2.2",
|
"mocha": "^9.2.2",
|
||||||
"mocha.parallel": "^0.15.6",
|
"mocha.parallel": "^0.15.6",
|
||||||
"ts-mocha": "^9.0.2",
|
"ts-mocha": "^9.0.2",
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ specifiers:
|
||||||
'@types/mocha': ^9.1.0
|
'@types/mocha': ^9.1.0
|
||||||
'@types/node': ^17.0.23
|
'@types/node': ^17.0.23
|
||||||
'@types/tough-cookie': ^4.0.1
|
'@types/tough-cookie': ^4.0.1
|
||||||
|
'@vuepress/plugin-search': ^2.0.0-beta.36
|
||||||
axios: ^0.25.0
|
axios: ^0.25.0
|
||||||
mocha: ^9.2.2
|
mocha: ^9.2.2
|
||||||
mocha.parallel: ^0.15.6
|
mocha.parallel: ^0.15.6
|
||||||
|
|
@ -22,6 +23,7 @@ devDependencies:
|
||||||
'@types/mocha': 9.1.0
|
'@types/mocha': 9.1.0
|
||||||
'@types/node': 17.0.23
|
'@types/node': 17.0.23
|
||||||
'@types/tough-cookie': 4.0.1
|
'@types/tough-cookie': 4.0.1
|
||||||
|
'@vuepress/plugin-search': 2.0.0-beta.36
|
||||||
mocha: 9.2.2
|
mocha: 9.2.2
|
||||||
mocha.parallel: 0.15.6_mocha@9.2.2
|
mocha.parallel: 0.15.6_mocha@9.2.2
|
||||||
ts-mocha: 9.0.2_mocha@9.2.2
|
ts-mocha: 9.0.2_mocha@9.2.2
|
||||||
|
|
@ -389,6 +391,20 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@vuepress/plugin-search/2.0.0-beta.36:
|
||||||
|
resolution: {integrity: sha512-UMtWH5h9wXiZgram2w5m/4Ni5R/8w+G/r22pBdBuqB1KMOUO473EmgOWgxqAsT3DLvOgevfmxQvp/OcEQv9Esw==}
|
||||||
|
dependencies:
|
||||||
|
'@vuepress/client': 2.0.0-beta.35
|
||||||
|
'@vuepress/core': 2.0.0-beta.36
|
||||||
|
'@vuepress/shared': 2.0.0-beta.35
|
||||||
|
'@vuepress/utils': 2.0.0-beta.35
|
||||||
|
chokidar: 3.5.3
|
||||||
|
vue: 3.2.31
|
||||||
|
vue-router: 4.0.14_vue@3.2.31
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@vuepress/plugin-theme-data/2.0.0-beta.36:
|
/@vuepress/plugin-theme-data/2.0.0-beta.36:
|
||||||
resolution: {integrity: sha512-1Fxj7F0rIARYa/gQmsUql3f7wPF3ML4Fs6kcPHXYll7ZNDLR1OBw9HIGJ7lW4qx37f6YfYs2RjefAuwkVFUn/A==}
|
resolution: {integrity: sha512-1Fxj7F0rIARYa/gQmsUql3f7wPF3ML4Fs6kcPHXYll7ZNDLR1OBw9HIGJ7lW4qx37f6YfYs2RjefAuwkVFUn/A==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue