mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-09-30 11:33:17 +00:00
* feat(settings): add settings and approvals POC shells (AP-7) Add app shell nav plus mock settings CRUD routes and an approvals inbox so the POC demo path works without an API. * fix(build): generate router types before tsc CI failed because src/router.ts is gitignored and tsc ran before Vite created it.
10 lines
279 B
JavaScript
10 lines
279 B
JavaScript
import { generate } from "../node_modules/@generouted/react-router/dist/plugin/generate.js";
|
|
|
|
await generate({
|
|
source: {
|
|
routes: "./src/pages/**/[\\w[-]*.{jsx,tsx,mdx}",
|
|
modals: "./src/pages/**/[+]*.{jsx,tsx,mdx}",
|
|
},
|
|
output: "./src/router.ts",
|
|
format: true,
|
|
});
|