Skip to content

Instantly share code, notes, and snippets.

Created August 6, 2021 02:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
php server side rendering
// App.vue
<div id="app">
<sidebar title="Mantap"></sidebar>
<p class="good">{{count}}</p>
<button v-on:click="increment">increment</button>
<feature-item v-for="feature in features" :key="" :feature="feature"></feature-item>
import Sidebar from './Sidebar.vue'
import FeatureItem from './FeatureItem.vue'
export default {
data() {
return {
message: 'Hello World',
count: 0,
user: this.$store.state.user,
features: this.$store.state.features
methods: {
increment() {
components: {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment