repository: https://github.com/genedronek/vuepress-bug.git
I am trying to access Firebase from within .vuepress component for saving email signup.
Repo is a very simple example copied directly from vuejs guide on how to use Firebase.
This example runs OK with vuepress dev docs;
FAILS with vuepress build docs;
Error rendering /:
Error: render function or template not defined in component: Firebase
BTW. Thanks. You guys are doing splendid work on processing vuepress bug reports.
Please use issue template to open an issue.
did you ever figure this out?
Sure, this issue wasn't created with the template, but it is valid. Experiencing the same issue.
I had the same problem and tried a lot of things... but in the end a simple removing of node_modules and reinstall npm installdid the trick.
Very weird, maybe some caching?
See this. If you are loading firebase as an HTML script in the config.js, then you may need to do the following: https://vuepress.vuejs.org/guide/using-vue.html#browser-api-access-restrictions
I end up with the same issue. Did anyone find a solution to this? Thanks
Most helpful comment
Sure, this issue wasn't created with the template, but it is valid. Experiencing the same issue.