mirror of
https://github.com/snowykami/mbcp.git
synced 2025-08-02 11:40:02 +00:00
📝 docs: add some tips
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// 共有配置项,导入index用
|
||||
|
||||
import {defineConfig} from 'vitepress'
|
||||
import {generateSidebar} from 'vitepress-sidebar';
|
||||
import {useData} from "vitepress";
|
||||
import {zh} from "./zh";
|
||||
import {en} from "./en";
|
||||
import {ja} from "./ja";
|
||||
|
@ -1,4 +1,29 @@
|
||||
import DefaultTheme from 'vitepress/theme-without-fonts'
|
||||
import Theme from 'vitepress/theme'
|
||||
import {createI18n} from 'vue-i18n'
|
||||
import './fonts.css'
|
||||
|
||||
export default DefaultTheme
|
||||
const i18n = createI18n({
|
||||
// something vue-i18n options here ..
|
||||
messages: {
|
||||
en: {
|
||||
tip: "TIP",
|
||||
},
|
||||
ja: {
|
||||
tip: "ヒント",
|
||||
},
|
||||
zh: {
|
||||
tip: "提示",
|
||||
},
|
||||
zht: {
|
||||
tip: "提示",
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
export default {
|
||||
extends: Theme,
|
||||
enhanceApp({app}) {
|
||||
app.use(i18n)
|
||||
}
|
||||
}
|
5
docs/zh/refer/7-differential-euqtion/index.md
Normal file
5
docs/zh/refer/7-differential-euqtion/index.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: 微分方程
|
||||
---
|
||||
|
||||
# 微分方程
|
Reference in New Issue
Block a user