<template>
  <div id="app">
    <h1>{{ $store.state.count }}</h1>
    <button @click="$store.commit('decrement');">-</button>
    <button @click="$store.commit('increment');">+</button>
    <button @click="$store.commit('increment2');">+2</button>
    <hr>
    <p>
      Open this example in
      <a href="https://n7ynon3lol.codesandbox.io/" target="_blank">multiple</a>
      tabs and play with
      <b>+</b>,
      <b>-</b>, and
      <b>+2</b> buttons.
    </p>
    <p>
      <b>+</b> and
      <b>-</b> actions are shared using
      <a
        href="https://www.npmjs.com/package/vuex-shared-mutations"
        target="_blank"
      >vuex-shared-mutations</a>, so the value will be in sync while you're using these buttons
    </p>
    <p>
      <b>+2</b> action, however, is not shared, so you can put your tabs
      out-of-sync. This is intentional, we're sharing
      <b>actions</b>, not entire
      system state
    </p>
    <hr>
    <p>
      <a href="https://codesandbox.io/s/n7ynon3lol">Demo source</a>
    </p>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<template>
  <div id="app">
    <h1>{{ $store.state.count }}</h1>
    <button @click="$store.commit('decrement');">-</button>
    <button @click="$store.commit('increment');">+</button>
    <button @click="$store.commit('increment2');">+2</button>
    <hr>
    <p>
      Open this example in
      <a href="/" target="_blank">multiple</a>
      tabs and play with
      <b>+</b>,
      <b>-</b>, and
      <b>+2</b> buttons.
    </p>
    <p>
      <b>+</b> and
      <b>-</b> mutations are shared using
      <a
        href="https://www.npmjs.com/package/vuex-shared-mutations"
        target="_blank"
      >vuex-shared-mutations</a>, so the value will be in sync while you're using these buttons
    </p>
    <p>
      <b>+2</b> mutation, however, is not shared, so you can put your tabs
      out-of-sync. This is intentional, we're sharing
      <b>mutations</b>, not entire
      system state
    </p>
    <hr>
    <p>
      <a href="https://codesandbox.io/s/n7ynon3lol">Demo source</a>
    </p>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

Fix wording in nuxt example
Fix wording in nuxt example
