no message
Former-commit-id: 64310f76c4dd3663a8fda0679c573eedf03cad81 [formerly 64310f76c4dd3663a8fda0679c573eedf03cad81 [formerly 64310f76c4dd3663a8fda0679c573eedf03cad81 [formerly 64310f76c4dd3663a8fda0679c573eedf03cad81 [formerly cffb5430eebf48f047fe250c2d16c2a93aa0d742 [formerly 71224f525aa2295ba2aa7313c24e83946f758591]]]]] Former-commit-id: 9b6b5eaccf15edef0d13da233840e3df4cf41f0e Former-commit-id: 77d3b5ae4eeced7f14c34168de497b7c53b44218 Former-commit-id: 40a188749e85dd9c42c2a43dbd64d8731551f7c6 [formerly fd321c420805056f4b481ecf478eab4c80ec231c] Former-commit-id: 6ae0fc471889d141e6a58e02a12dbfcf06074d24 Former-commit-id: 998f30cea38f585eaad16e57ad5ddaeca65d5335 Former-commit-id: 2483d02f4cc989fa521de7f6f25e0de06c4ed636 Former-commit-id: 922a62a41d104d1adb3e0d4589e5e0f57312b974 Former-commit-id: b99f96f877f52f1a2803b71f7b30cc5d8f847b70
This commit is contained in:
parent
963e6b3b3a
commit
b537cc0da7
|
|
@ -19,14 +19,46 @@
|
|||
|
||||
加载资源
|
||||
|
||||
``` vue
|
||||
const md = `# Header
|
||||
```vue
|
||||
<template>
|
||||
<d2-markdown :source="doc"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const doc = `
|
||||
# Header
|
||||
|
||||
## title
|
||||
|
||||
text`
|
||||
text`.trim()
|
||||
|
||||
<d2-markdown :source="md"/>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
doc
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
```
|
||||
|
||||
D2Admin 已经帮你配置好 webpack,你可以使用以下方式加载 markdown 文件
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<d2-markdown :source="doc"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import doc from './md/doc.md'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
doc
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
```
|
||||
|
||||
## 百度网盘分享链接优化
|
||||
|
|
|
|||
Loading…
Reference in New Issue