Closed TokugawaTakeshi closed 2 years ago
Hi @TokugawaTakeshi This is not related with this package but nuxt and vuex-module-decorators integration. Anyway I created this example repo that should be enough to solve your problems: link to repo
@DavidBernal
It was the most polite issue rejection in the world. You made it work!
Now only removing of Classic mode for store/ is deprecated and will be removed in Nuxt 3.
warning is not enough for 100% happiness. Because I know the cost of specialists' time, I feel uncomfortable to ask you to solve this for free. May I ask you to fix if for 50$? (Payment via PayPal).
Updated the issue How to use with nuxtServerInit of vuex-module-decorators with my instance.
Hi @TokugawaTakeshi
I would not worry about that warning. Also, I don't know how vuex will be on nuxt 3:
nuxt/framework#571
@DavidBernal Well, anyway, thank you for the solution!
I am sorry for the question in issues. Before open this issue, I asked same question in StackOverflow and even did the contest. The only one answer does not contain the working solution.
According this answer on Stack overflow, below listing from the vuex-module-decorators official documentation
in the Nuxt case must be:
But how to integrate the
nuxtServerInit
action is above methodology? In below listing ofstore/index.ts
, thenuxtServerInit
will not be called.