Yes, it's possible to use Vue.js on Firebase Hosting and Webflow for marketing content under the same domain by configuring URL-based routing with Firebase's rewrites. This allows each platform to serve specific paths, maintaining SEO benefits.
/app
, /dashboard
, or /admin
.firebase.json
, use a rewrite rule to serve these routes with the Vue build.Example:
"rewrites": [ { "source": "/app/**", "destination": "/index.html" }]
webflow.yourdomain.com
./
, /blog/**
, and /campaign/**
to proxy Webflow content from that subdomain.Example:
"rewrites": [ { "source": "/", "function": "proxyWebflowHome" }, { "source": "/blog/**", "function": "proxyWebflow" }, { "source": "/campaign/**", "function": "proxyWebflow" }]
proxyWebflow
) that uses res.redirect
or res.proxy
to pull Webflow content./
, /blog/post-name
), preserving discoverability.199.36.158.100
www.yourdomain.com
as a redirect via Firebase to ensure canonical consistency.Yes, you can use Firebase Hosting to serve a Vue.js app and proxy Webflow pages under the same domain. Use Firebase rewrites and Cloud Functions to route specific URL paths to either your app or Webflow content, maintaining SEO-friendly URLs across the board.