loading...

re: Deploy nuxt on Firebase VIEW POST

TOP OF THREAD FULL DISCUSSION
re: First of all, thank you for this article, it's pretty awesome! Although I am struggling with one issue for some time now and really can't figure i...
 

Hey Bartłomiej, thank you. I'm glad you liked it.

I had to do the exact same thing, you can check how I did it here

In short, I had to add a route to catch post method on 'api/contact' in here at the end of the file.

Tell me if you need any deeper explanations

 

That clarified a lot, thank you!

One more question: after following steps from the article I can't use yarn dev anymore. It looks like my plugins are now undefined on page render and Nuxt throws Cannot read property ... of undefined error instead of rendering my page. yarn build:firebase && yarn start:firebase works fine.

Do you have any idea what may be wrong? Do I need some additional configuration in src/server/index.js to make it work again?

Weird, i get the same error...
I'll investigate on this when i get some free time (so rare these days :D)

Code of Conduct Report abuse