- Created a new CSS file for font imports and defined font families for base, mono, strong, em, and h1 elements. - Added a new JavaScript file to extend the default VitePress theme, incorporating a custom layout and a Vue component for enhanced functionality. - Integrated Mermaid diagram support and included the necessary styles for it.
16 lines
345 B
JSON
16 lines
345 B
JSON
{
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^25.6.0",
|
|
"js-yaml": "^4.1.1",
|
|
"v-beautiful-mermaid": "^0.0.3",
|
|
"vitepress": "2.0.0-alpha.17"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"dev": "vitepress dev",
|
|
"build": "vitepress build",
|
|
"preview": "vitepress preview"
|
|
}
|
|
}
|