public/
directory, host the Vue app in a subfolder (e.g., /app/
), and configure firebase.json
to route /app/**
to Vue and all other paths to Webflow content.Yes, it's possible to use Webflow for marketing pages and a Vue.js app hosted on Firebase under the same domain, but it requires some custom URL routing via Firebase Hosting to handle both sources.
To achieve this setup, you can configure Firebase Hosting as the main domain handler and use rewrites/proxies in the firebase.json
file to serve:
/app/**
/
and other marketing/blog pagesSince Webflow doesn’t allow direct custom routing per URL path, you’ll likely need to:
public/
folder of your Firebase project, maintaining the structure for homepage, blog, etc.public/app/
, or route to it with rewrites.Configure firebase.json
with rewrites like:
/app/**
to app/index.html
to load your Vue.js single-page app./
, /blog
, /about
) serve Webflow-exported HTML files.Example:
"rewrites": [ { "source": "/app/**", "destination": "/app/index.html" }, { "source": "**", "destination": "/index.html" }]
This assumes that Webflow’s exported homepage index.html
is in the root of the Firebase public/
folder.
www.example.com
) to Firebase Hosting via A records or CNAME as per Firebase instructions.firebase.json
./app
) won’t be SEO-rich unless you implement server-side rendering (SSR) or pre-rendering.You can host both Webflow (for homepage and content) and a Vue app (hosted on Firebase) under the same domain, using Firebase Hosting as the main router. Export Webflow, integrate it into Firebase, and define route rewrites to split traffic cleanly for both content and app sections.