next.js icon indicating copy to clipboard operation
next.js copied to clipboard

Convert `with-absolute-imports` example to TypeScript

Open maxproske opened this issue 2 years ago • 1 comments

Converted example to TypeScript to match Contribution docs.

  • ~~Renamed with-absolute-imports example to absolute-imports-and-aliases to match Contribution docs~~
  • ~~Replaced deprecated example with a README.md file~~
  • Used module path aliases in example, to help developers decide which import strategy to use

Documentation / Examples

  • [X] Make sure the linting passes by running pnpm build && pnpm lint
  • [X] The "examples guidelines" are followed from our contributing doc

maxproske avatar Nov 06 '22 07:11 maxproske

@balazsorban44 Done. That makes sense, I'll keep existing examples prefixed with with- as is.

maxproske avatar Nov 06 '22 19:11 maxproske