Welcome to Ayush World
My Writings
About Me
Contribute!
My Writings
About Me
Contribute!
  • DIY Blogs

    • Replacing Speed-o-Meter
    • Replacing Car Door Lock Gun
  • Short Stories & Poems

    • ट्रैन का सफर
    • ज़िन्दगी कुछ ऐसी भी
    • आज की दुनिया
    • Expectation
    • चलो छत पे चलें
    • लेखक और उनके शब्द
    • बड़ा मंगल
  • Hindi Shayaris

    • Uski Aakhein aur Sharab
    • My Shayari Website
  • My Thoughts

    • Astrophile
  • My Paintings

    • Dream Bike
    • Kid Yawning
  • Tech Blogs

    • Intregrate Asana and Github
    • Migrated IIT JEE notes to Vuepress
    • Introduction to Microservices

Using Vue in Markdown

Browser API Access Restrictions

Because VuePress applications are server-rendered in Node.js when generating static builds, any Vue usage must conform to the universal code requirements. In short, make sure to only access Browser / DOM APIs in beforeMount or mounted hooks.

If you are using or demoing components that are not SSR friendly (for example containing custom directives), you can wrap them inside the built-in <ClientOnly> component:

Help us improve this page!
Last Updated: 7/4/26, 4:25 PM
Contributors: Ayush P Gupta