#Rename `/app` to `/src` folder

1 messages · Page 1 of 1 (latest)

vestal ginkgo
#

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,
    },
  },
})

How to resolve??

fair peak
#

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)

ocean swallow
#

btw we have #1240861643462934568 for that

vestal ginkgo
#

Sorry, didn't find that channel, can't replace... pfff

ocean swallow
#

please just reopen the question there and make sure to include a minimal complete example, e.g. as a GitHub repo

foggy thorn
#

@ocean swallow 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.

ocean swallow
#

@vast hawk can we configure which channels are shown by default?