Files
vuepress/packages/@vuepress/core/lib/client/clientEntry.js
T
ULIVZandGitHub e5d8ed4655 feat: refine node api (#1395)
- fix($core): markdown slot doesn‘t work. (regression of c85f62d)
- docs: fresh Node.JS API.
- test: official plugins.
2019-03-04 23:46:13 +08:00

15 lines
276 B
JavaScript

/* global VUEPRESS_VERSION, LAST_COMMIT_HASH*/
import { createApp } from './app'
const { app, router } = createApp(false /* isServer */)
window.__VUEPRESS_VERSION__ = {
version: VUEPRESS_VERSION,
hash: LAST_COMMIT_HASH
}
router.onReady(() => {
app.$mount('#app')
})