UNPKG

quasar-framework

Version:

Build responsive SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase

14 lines (12 loc) 260 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) } }