T
TanStack9mo ago
conventional-tan

Rename `/app` to `/src` folder

Trying to make this work, but this leads to problems (in dev and not building...). Tried a lot of config adjustments. Latest is
export default defineConfig({
tsr: {
appDirectory: "./src",
apiBase: "./src",
},
vite: {
build: {
outDir: "./build",
ssr: true,
manifest: true,
},
},
})
export default defineConfig({
tsr: {
appDirectory: "./src",
apiBase: "./src",
},
vite: {
build: {
outDir: "./build",
ssr: true,
manifest: true,
},
},
})
How to resolve??
7 Replies
correct-apricot
correct-apricot9mo ago
apiBase is not a directory, it is the base route for api routes e.g. /api, you shouldnt set that (or at least, it has nothing to do with what you want here)
foreign-sapphire
foreign-sapphire9mo ago
btw we have #start-questions for that
conventional-tan
conventional-tanOP9mo ago
Sorry, didn't find that channel, can't replace... pfff
foreign-sapphire
foreign-sapphire9mo ago
please just reopen the question there and make sure to include a minimal complete example, e.g. as a GitHub repo
inland-turquoise
inland-turquoise9mo ago
@Manuel Schiller Don't know if it's a widespread "issue" but when I first joined the server the "start" section of the channel's list was hidden. I had to go to "Browser Channels" and toggle it. I suspect some users don't find that channel because of it.
foreign-sapphire
foreign-sapphire9mo ago
@Tanner Linsley can we configure which channels are shown by default?
cloudy-cyan
cloudy-cyan9mo ago
I'll look into it fixed

Did you find this page helpful?