DEV Community

Discussion on: Deploy nuxt on Firebase

Collapse
 
tngeene profile image
Ted Ngeene • Edited

Hey, thank you so much for the guide. Really helpful. Is the configuration different for a single page application? I have followed the instructions but the app brings a server error.

it raises the following error on setting debug to true

Renderer resources are not loaded! Please check possible console errors and ensure dist (D:\work\lorenzo_dry_cleaners\functions\.nuxt\dist\server) exists.

Collapse
 
joshidcoates profile image
JoshidCoates

The configuration is much different for SPA, it is very simple: you run nuxt build, which will create a dist file and setup firebase to use dist instead on public and then deploy. You do not need functions.