pyro icon indicating copy to clipboard operation
pyro copied to clipboard

coach user on getting intellisense if they have a `.tsx` file

Open lino-levan opened this issue 2 years ago • 3 comments

Right now when we build .tsx pages, we rely on the deno.jsonc of Pyro. This should be configurable.

We should coach the user to include

{
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "https://esm.sh/[email protected]"
  }
}

at the bare minimum if they didn't already.

lino-levan avatar Aug 05 '23 01:08 lino-levan

The version used in the imports should be aligned to the version pyro is built with.

lino-levan avatar Aug 05 '23 01:08 lino-levan

Why even coach the user? We should just do this automatically.

lino-levan avatar Aug 06 '23 17:08 lino-levan

we now automatically import deno.json(c)

lino-levan avatar Aug 16 '23 15:08 lino-levan