mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-05 22:46:32 +00:00
chore: introduce and add more extra dependencies to project for use of building new components when required
This commit is contained in:
parent
d7e5ee6157
commit
f904a405df
@ -1,12 +1,30 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import Components from 'unplugin-vue-components/vite'
|
||||
import UnoCSS from 'unocss/vite'
|
||||
import { MarkdownTransform } from './.vitepress/plugins/markdownTransform'
|
||||
import Icons from 'unplugin-icons/vite'
|
||||
import IconsResolver from 'unplugin-icons/resolver'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
Components({
|
||||
dirs: ['.vitepress/theme/components'],
|
||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
||||
resolvers: [
|
||||
IconsResolver({
|
||||
componentPrefix: '',
|
||||
}),
|
||||
],
|
||||
dts: './.vitepress/components.d.ts',
|
||||
transformer: 'vue3',
|
||||
}),
|
||||
Icons({
|
||||
compiler: 'vue3',
|
||||
autoInstall: true,
|
||||
defaultStyle: 'display: inline-block',
|
||||
}),
|
||||
UnoCSS(),
|
||||
MarkdownTransform(),
|
||||
],
|
||||
ssr: {
|
||||
noExternal: ['@andatoshiki/vitepress-plugin-nprogress', '@arco-design/web-vue'],
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
"@andatoshiki/vitepress-plugin-shiki-twoslash": "0.0.1",
|
||||
"@antv/g2plot": "^2.4.31",
|
||||
"@arco-design/web-vue": "^2.46.0",
|
||||
"@iconify/json": "^2.2.116",
|
||||
"@luckrya/markdown-it-link-to-card": "^0.3.3",
|
||||
"@mdit-vue/shared": "^0.12.0",
|
||||
"@types/node": "^18.14.2",
|
||||
@ -40,6 +41,7 @@
|
||||
"blueimp-md5": "^2.19.0",
|
||||
"conventional-changelog-cli": "^2.2.2",
|
||||
"dayjs": "^1.11.8",
|
||||
"dotenv": "^16.3.1",
|
||||
"dplayer": "^1.27.1",
|
||||
"feed": "^4.2.2",
|
||||
"flv.js": "^1.6.2",
|
||||
@ -57,12 +59,16 @@
|
||||
"markdown-it-task-lists": "^2.1.1",
|
||||
"medium-zoom": "^1.0.8",
|
||||
"mermaid": "^9.4.3",
|
||||
"ohmyfetch": "^0.4.21",
|
||||
"prettier": "2.8.4",
|
||||
"react": "^18.2.0",
|
||||
"sass": "^1.58.3",
|
||||
"simple-git": "^3.19.1",
|
||||
"sitemap": "^7.1.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.1.3",
|
||||
"unocss": "^0.55.7",
|
||||
"unplugin-icons": "^0.17.0",
|
||||
"unplugin-vue-components": "^0.24.0",
|
||||
"videojs-flash": "^2.2.1",
|
||||
"vite": "^4.1.2",
|
||||
|
||||
680
pnpm-lock.yaml
680
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user