Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit df8c418

Browse files
delete perfops script
1 parent 332cd2e commit df8c418

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

β€Ž.vitepress/config.ts

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
import fs from 'fs'
22
import path from 'path'
3-
import { defineConfigWithTheme, type HeadConfig, type Plugin } from 'vitepress'
3+
import {
4+
defineConfigWithTheme,
5+
type HeadConfig,
6+
type Plugin
7+
} from 'vitepress'
48
import type { Config as ThemeConfig } from '@vue/theme'
59
import llmstxt from 'vitepress-plugin-llms'
610
import baseConfig from '@vue/theme/config'
711
import { headerPlugin } from './headerMdPlugin'
812
// import { textAdPlugin } from './textAdMdPlugin'
9-
import { groupIconMdPlugin,groupIconVitePlugin } from 'vitepress-plugin-group-icons'
13+
import {
14+
groupIconMdPlugin,
15+
groupIconVitePlugin
16+
} from 'vitepress-plugin-group-icons'
1017

1118
const nav: ThemeConfig['nav'] = [
1219
{
@@ -50,7 +57,10 @@ const nav: ThemeConfig['nav'] = [
5057
{ text: 'Developers', link: '/developers/' },
5158
{ text: 'Themes', link: '/ecosystem/themes' },
5259
{ text: 'UI Components', link: 'https://ui-libs.vercel.app/' },
53-
{ text: 'Plugins Collection', link: 'https://www.vue-plugins.org/' },
60+
{
61+
text: 'Plugins Collection',
62+
link: 'https://www.vue-plugins.org/'
63+
},
5464
{
5565
text: 'Certification',
5666
link: 'https://certificates.dev/vuejs/?ref=vuejs-nav'
@@ -494,7 +504,7 @@ export const sidebar: ThemeConfig['sidebar'] = {
494504
{
495505
text: 'List with Transitions',
496506
link: '/examples/#list-transition'
497-
},
507+
}
498508
]
499509
},
500510
{
@@ -634,8 +644,7 @@ export default defineConfigWithTheme<ThemeConfig>({
634644
src: 'https://media.bitterbrains.com/main.js?from=vuejs&type=top',
635645
async: 'true'
636646
}
637-
],
638-
inlineScript('perfops.js')
647+
]
639648
],
640649

641650
themeConfig: {
@@ -708,7 +717,7 @@ export default defineConfigWithTheme<ThemeConfig>({
708717
{
709718
link: 'https://pl.vuejs.org',
710719
text: 'Polski',
711-
repo: 'https://github.com/vuejs-translations/docs-pl',
720+
repo: 'https://github.com/vuejs-translations/docs-pl'
712721
},
713722
{
714723
link: '/translations/',
@@ -754,8 +763,7 @@ export default defineConfigWithTheme<ThemeConfig>({
754763
markdown: {
755764
theme: 'github-dark',
756765
config(md) {
757-
md.use(headerPlugin)
758-
.use(groupIconMdPlugin)
766+
md.use(headerPlugin).use(groupIconMdPlugin)
759767
// .use(textAdPlugin)
760768
}
761769
},

β€Ž.vitepress/inlined-scripts/perfops.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /