solidjs / templates

Vite + solid templates
429 stars 120 forks source link

Error in the readme? #112

Open promethyttrium opened 11 months ago

promethyttrium commented 11 months ago

According to the readme:

# Typescript tailwindcss template + basic file base routing
$ npx degit solidjs/templates/ts-router my-solid-project
$ cd my-solid-project
$ npm install # or pnpm install or yarn install

But the generated code has a routes.ts file that declares a bunch of a routes. I don't think that's what file based routing is? I thought it's supposed to read your file system and configure your routes according to it??