-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
46 lines (45 loc) · 2.39 KB
/
vite.config.ts
File metadata and controls
46 lines (45 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { defineConfig } from 'vite'
import '@slidev/cli'
import MarkdownItMagicLink from 'markdown-it-magic-link'
export default defineConfig({
slidev: {
markdown: {
markdownItSetup(md) {
md.use(MarkdownItMagicLink, {
linksMap: {
'NuxtLabs': { link: 'https://nuxtlabs.com', imageUrl: 'https://nuxtlabs.com/icon.png' },
'Vitest': 'https://github.com/vitest-dev/vitest',
'Slidev': 'https://github.com/slidevjs/slidev',
'VueUse': 'https://github.com/vueuse/vueuse',
'UnoCSS': 'https://github.com/unocss/unocss',
'Elk': 'https://github.com/elk-zone/elk',
'Type Challenges': 'https://github.com/type-challenges/type-challenges',
'Vue': 'https://github.com/vuejs/core',
'Nuxt': 'https://github.com/nuxt/nuxt',
'Vite': 'https://github.com/vitejs/vite',
'Vapor': 'https://github.com/vuejs/core',
'Shiki': 'https://github.com/shikijs/shiki',
'Twoslash': 'https://github.com/twoslashes/twoslash',
'ESLint Stylistic': 'https://github.com/eslint-stylistic/eslint-stylistic',
'Unplugin': 'https://github.com/unplugin',
'Nuxt DevTools': 'https://github.com/nuxt/devtools',
'Vite PWA': 'https://github.com/vite-pwa',
'i18n Ally': 'https://github.com/lokalise/i18n-ally',
'ESLint': 'https://github.com/eslint/eslint',
'Astro': 'https://github.com/withastro/astro',
'TwoSlash': 'https://github.com/twoslashes/twoslash',
'Anthony Fu Collective': { link: 'https://opencollective.com/antfu', imageUrl: 'https://github.com/antfu-collective.png' },
'Netlify': { link: 'https://netlify.com', imageUrl: 'https://github.com/netlify.png' },
'Stackblitz': { link: 'https://stackblitz.com', imageUrl: 'https://github.com/stackblitz.png' },
'Vercel': { link: 'https://vercel.com', imageUrl: 'https://github.com/vercel.png' },
'Nolebase': { link: 'https://github.com/nolebase/nolebase', imageUrl: 'https://nolebase.ayaka.io/logo.svg' },
'InterlineTranslate': 'https://github.com/LittleSound/interline-translate',
'SlimeForm': 'https://github.com/LittleSound/slimeform',
'xUse': 'https://github.com/x-use',
'Guii.AI': 'https://Guii.ai',
},
})
},
},
},
})