React, Vite, Typescript and Styled-Components
Github: https://github.com/HODLBAEK
<Software Engineer> I'm a self-taught Frontend Developer passionate about web development. I use HTML, CSS, Sass, Javascript, React.
As an ex-banker, I also am very passionate about #BTC and what it could mean to humanity and money as we know it.
1. Opening
I had a hard time configuring how to using React/Typescript and styled-components on Vite. Most tutorials were written out in CRA as it is still the popular choice over Vite. However, I like Vite due to its blazing-fast speed.
- Vite (When asked, choose React-ts in the terminal)
npm create vite@latest
cd <foldername>
npm install
npm run dev
npm install --save styled-components
- Eslint
You can utilize Eslint which is certainly helpful when you code.
npm init @eslint/config