Skip to content

Instantly share code, notes, and snippets.

@andikasputra
Created August 6, 2021 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andikasputra/0a8363f09aa54df5929a0845ece55d0e to your computer and use it in GitHub Desktop.
Save andikasputra/0a8363f09aa54df5929a0845ece55d0e to your computer and use it in GitHub Desktop.
php server side rendering
import app from './app';
app.$store.commit('setUser', {user: window.user})
app.$store.state.features = window.features
app.$mount('#app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment