pathpida
pathpida copied to clipboard
TypeScript friendly internal link client for Next.js, Nuxt.js and Sapper.
```ts export interface Query { id: number } ``` (上の例はいずれにせよ `ParsedUrlQueryInput` に代入不可と言われてしまう) ```ts import { ParsedUrlQueryInput } from 'querystring' export interface Query extends ParsedUrlQueryInput { id: number } ``` 利用できても良いかな、ぐらいに思った。
https://github.com/frouriojs/create-frourio-app/pull/268#issuecomment-986001240 > pathpidaって index.json.ts にQuery指定しても自動生成されないのでしたっけ...? [slug].json.tsのようなdynamic routesは生成されるようですが...
Sapper is no longer actively developed and SvelteKit is a much better experience. It would be good to replace the Sapper project with a SvelteKit project Migration guide: https://kit.svelte.dev/migrating
## Description ある程度制約を使う側に課している部分はあると思うんですが、とはいえ使えないにしてもエラー or (警告+無視)はでたほうがいいかなと…いい感じのサポート基準の落とし所は next.js に揃えるとかですかね。 frourio にもおそらく言えると思います、 create-frourio-app は一部そうとも言える箇所あり (EJS で埋め込んでいる箇所) 似たようなツールで `JSON.stringify(str)` で対処しているのは見かけました。何だったかは忘れました。現状のままだと prettier に怒られるという問題はあります。 JSON.stringify の single quote をエスケープしちゃえばよし、はおそらく正しい気がします。楽に対処するならこれですかね。
Bumps [next](https://github.com/vercel/next.js) from 11.1.0 to 12.3.1. Release notes Sourced from next's releases. v12.3.1 Core Changes Update react-server-dom-webpack: #40356 Fix flight manifest to include all chunks: #40365 docs: fix typos: #40342...
## Description Hi, I many times we need get final url of pagesPath Example: ``` const urlObject= pagesPath.dashboard.project._projectId("abc").$url(); // return { pathname: '/dashboard/project/[projectId]' as const, query: { projectId }, hash:...
## Description When configuring the following directory structure in the app router, the object keys in $path.ts conflict. (An object literal cannot have multiple properties with the same name.) ```...
## Description The page.tsx directly under Route Groups directory is a Next.js routable page, but the URL is not generated by pathpida. 日本語 Route Groups直下のpage.tsxはNext.jsのルーティング可能なページとして扱われますが、pathpidaでURLが生成されません。 Route Groups https://nextjs.org/docs/app/building-your-application/routing/route-groups ## Environment...
Bumps [next](https://github.com/vercel/next.js) from 13.4.12 to 13.5.0. Release notes Sourced from next's releases. v13.4.20-canary.41 Core Changes Add mui-core to the default optimizePackageImports list: #55554 Consolidate experimental React opt-in & add ppr...