Nuxt/test/fixtures/full-static/store/index.js
Pooya Parsa 42406d6075
feat: store and replay vuex mutations for static target (#7350)
* feat: store and replay vuex mutations for static target

* test: add full-static fixture

* perf: clean store subscription before render

* fix: record mutations after nuxtServerInit and middleware
2020-05-12 13:05:24 +02:00

10 lines
121 B
JavaScript

export const state = () => ({
counter: 0
})
export const mutations = {
COUNT (state) {
state.counter += 1
}
}