[Vuejs]-How to enable Vuex in Firebase Functions when deploying Nuxt app

0👍

By the moment I’ve solved it by copying my store/ folder into functions/ folder, now the Firebase Functions console says nothing and it looks like work, but I’m not sure if it is the correct way to solve it.

I’ve changed my predeploy command to look like this:

rm -rf functions/nuxt && cp -r .nuxt/ functions/nuxt/ && cp nuxt.config.js functions/ && cp -r store/ functions/

Leave a comment