Update readme

This commit is contained in:
xugaoyi 2020-04-11 11:38:22 +08:00
parent 43626a546b
commit a6db129768
3 changed files with 3 additions and 4 deletions

View File

@ -35,7 +35,6 @@
<details>
<summary>查看文档</summary>
<ul>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/343">.vuepress/config.js 新增的配置</a></li>
<li>简单的<b>目录页</b>配置,查看 <a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/330">目录页配置</a>
</li>
<li><b>自动生成侧边栏工具</b> 让你拥有一个结构清晰的侧边栏,无需手动配置。<br/>

View File

@ -120,7 +120,7 @@ module.exports = {
duration: 1000, // prompt message display time.
showInMobile: false // whether to display on the mobile side, default: false.
}],
['demo-block', { // demo演示模块
['demo-block', { // demo演示模块 https://github.com/xiguaxigua/vuepress-plugin-demo-block
settings: {
// jsLib: ['http://xxx'], // 在线示例(jsfiddle, codepen)中的js依赖
// cssLib: ['http://xxx'], // 在线示例中的css依赖

View File

@ -1,9 +1,9 @@
import vue from 'vue/dist/vue.esm.browser'
// import vue from 'vue/dist/vue.esm.browser'
export default ({
Vue, // VuePress 正在使用的 Vue 构造函数
options, // 附加到根实例的一些选项
router, // 当前应用的路由实例
siteData // 站点元数据
}) => {
window.Vue = vue // 使页面中可以使用Vue构造函数 使页面中的vue demo生效
// window.Vue = vue // 使页面中可以使用Vue构造函数 使页面中的vue demo生效
}