UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

15 lines (12 loc) 261 B
// using it to manage SSR rendering with best performance import { onSSR } from '../plugins/Platform.js' export default { data () { return { canRender: !onSSR } }, mounted () { this.canRender === false && (this.canRender = true) } }