Replies: 1 comment 1 reply
-
Found this in start source code const publicDir = opts.routers?.public?.dir || './public'
const publicBase = opts.routers?.public?.base || '/'
const clientBase = opts.routers?.client?.base || '/_build'
const apiBase = opts.tsr?.apiBase || '/api'
const serverBase = opts.routers?.server?.base || '/_server' It looks at below config then? would be helpful to know how to configure these 4 options.. my attempt below routers: {
server: {
base: '/path/_server'
},
client: {
base: '/path/_build'
},
public: {
base: '/path'
},
},
tsr: {
apiBase: '/path/api'
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'd like to deploy multiple tanstack start applications into a single domain.
for example,
tanstack.com/router
tanstack.com/query
tanstack.com/table
where each of router / query / table are apps on its own having own api / server Fns and static assets.
How to achieve this? I think we have to use defineConfig inside app.config.ts, for eg the 'query' app to have
but can't figure out what should be exact values here.
Beta Was this translation helpful? Give feedback.
All reactions