Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@andikasputra
Created August 6, 2021 12:43
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/7aea3b434782aa9d9c38fab149ae4be5 to your computer and use it in GitHub Desktop.
Save andikasputra/7aea3b434782aa9d9c38fab149ae4be5 to your computer and use it in GitHub Desktop.
php server side rendering
// js/app.js
import Vue from 'vue'
import App from '../components/App.vue'
import { createStore } from './store'
const store = createStore()
const app = new Vue({
store,
render: h => h(App)
})
export default app;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment