DEV Community

Discussion on: Deploy nuxt on Firebase

Collapse
 
couchfault profile image
Henry Pitcairn • Edited

This guide probably saved me hours of configuration hell. Thank you! I had a relative path issue with the default setup:

WARN No pages directory found in [path to project]/functions. Using the default built-in page..

Took me a while to figure out it was because I'd tweaked the render function to enable dev in the config object when it's set in the node ENV (config.dev = process.env.NODE_ENV !== 'production'). If you want to be able to run the code in dev mode for debugging purposes just add srcDir: '../src' to the config object.