- tutorial: Next js Tutorial for Beginners | Nextjs 13 (App Router) with TypeScript - Programming with Mosh
- API: https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/home
npm i
npm run dev
- GSAP ScrollTrigger
- Control spline 3D element
- Insert threejs gtlf model
- Add eslint prettier
- Connect GraphQL via apollo, fetch CraftCMS data
- https://www.apollographql.com/blog/community/backend/8-free-to-use-graphql-apis-for-your-projects-and-demos/
- http fetch failed from redacted:redacted? (POST needed?!)
- https://www.apollographql.com/blog/community/backend/8-free-to-use-graphql-apis-for-your-projects-and-demos/
- Add VSCode autoformatting settings for prettier
npx create-next-app@latest .
# select all defaults, including new app router
# add prettier
npm install prettier prettier-plugin-tailwindcss --save-dev
# add GSAP
npm install gsap
# add react-gsap (https://www.npmjs.com/package/@gsap/react)
npm i @gsap/react
# add apollo for GraphQL support, see:
# https://www.apollographql.com/blog/apollo-client/next-js/how-to-use-apollo-client-with-next-js-13/
npm install @apollo/client@rc @apollo/experimental-nextjs-app-support
# add spline three fiber
npm install three @types/three @react-three/fiber
npm i @splinetool/r3f-spline @react-three/drei
# add spline react (option B)
npm i @splinetool/react-spline