based on next.js example of with ts
next.js styled-jsx ts apollo
npm install
npm run dev
# or
yarn
yarn dev
Next.js supports IE11 and all modern browsers out of the box using @babel/preset-env.
The next/babel preset includes everything needed to transpile React applications. This includes:
preset-env preset-react plugin-proposal-class-properties plugin-proposal-object-rest-spread plugin-transform-runtime styled-jsx