Getting vuex-module-decorators to work in nuxt

There are a few caveats to integrating vuex-module-decorators with nuxt. The first steps are described in the README (although I missed it because it nuxt was in the small text).

In addition to this, according to issue #179, there are a few other caveats

One thought on “Getting vuex-module-decorators to work in nuxt

  1. I love you so damn much, thank you! I’ve been tackling this bug with Nuxt and vuex-module-decorators for hours but these caveats solved it. These caveats are so subtle (or even non-existant) in the documentation that I would’ve never noticed it if it weren’t for this godly post. If you’re reading this right now, Drone Ah, just know that you’ve saved me tonnes of time and pain, and no matter how much I write in this reply, I could never express how appreciative I am of you and this post!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.