代码拉取完成,页面将自动刷新
sidebar |
---|
false |
还没想好写些什么...
vuepress
在编译时依赖的内容,不会热更新,如修改,需重启项目。
.vuepress/config.js
md
文件,不可以立刻访问到md
文件,sidebar
内容不会立即更新docs/.vuepress
中新建 enhanceApp.js
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
export default ({ Vue }) => {
Vue.use(ElementUI, { size: 'mini' });
};
Can't resolve 'core-js/library/fn/array/from
需要安装 "core-js": "2.x"
,注意大版本号必须是2
。 参考 issue
md
文件中使用 vue
::: warning
script标签需写在template
前,这问题找了我好半天。
:::
## [TO DO]fieldsConfig 说明
<script>
export default {
data () {
return {
msg: 'Hello VuePress!'
}
}
}
</script>
<template>
<div>{{msg}}</div>
</template>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。