aboutsummaryrefslogtreecommitdiff
path: root/node_modules/vuepress/lib/app/components/ClientOnly.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/vuepress/lib/app/components/ClientOnly.js')
-rw-r--r--node_modules/vuepress/lib/app/components/ClientOnly.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/vuepress/lib/app/components/ClientOnly.js b/node_modules/vuepress/lib/app/components/ClientOnly.js
deleted file mode 100644
index c786d1af..00000000
--- a/node_modules/vuepress/lib/app/components/ClientOnly.js
+++ /dev/null
@@ -1,12 +0,0 @@
-export default {
- functional: true,
- render (h, { parent, children }) {
- if (parent._isMounted) {
- return children
- } else {
- parent.$once('hook:mounted', () => {
- parent.$forceUpdate()
- })
- }
- }
-}