Typescript + React

Hi!
I’ve been trying to upload my Typescript website for some time now. But I just can’t figure out how. I am very new to Typescript and React stuff so I know I’ve missed a lot of needed files but I need help on how to set them up.

The code can be viewed here. GitHub - PrisumDevolopes/portfolio

Hi, @prisumdevolopes! Welcome to the Vercel Community. :smile:

We have some docs which may be helpful in understanding how to deploy to Vercel.

I also recommend checking out our templates in case you wanted to see some example configurations:

Let us know how you get on!

No I know how to deploy websites I just don’t know how to deploy typescript websites using react

What build tooling and frameworks are you using to work with typescript/react? Many online tutorials for Vercel unfortunately recommend checking in the built javascript files, but I’ve had success with using github actions to build during deployment to keep my repository clean. You can check out my repo for an example, but unfortunately it’s an express project, so won’t get you all the way there.

1 Like

import Layout from ‘…/components/layout’

import { motion, useScroll, useTransform } from ‘framer-motion’

import { useState, useRef } from ‘react’

import { FaReact, FaNodeJs, FaAws, FaDocker, FaGithub, FaTwitter, FaLinkedin, FaDev, FaEnvelope, FaPhone, FaMapMarkerAlt } from ‘react-icons/fa’

import { SiTypescript, SiMongodb, SiGraphql, SiGit } from ‘react-icons/si’

I made a pr you should give it a look fix up the boilerplate by NWylynko · Pull Request #1 · PrisumDevolopes/portfolio · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.