Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 910 Bytes

react.md

File metadata and controls

25 lines (21 loc) · 910 Bytes

stuttgart-things/docs/react

SNIPPETS

INIT REMIX+SHADCN PROJECT
npx create-remix
yarn dev # run dev server
npx shadcn-ui init # init shadc UI
✔ Would you like to use TypeScript (recommended)? … yes
✔ Which style would you like to use? › Default
✔ Which color would you like to use as base color? › Slate
✔ Where is your global CSS file? … app/tailwind.css
✔ Would you like to use CSS variables for colors? … yes
✔ Are you using a custom tailwind prefix eg. tw-? … (blank)
✔ Where is your tailwind.config.js located? … tailwind.config.js
✔ Configure the import alias for components: … ~/components
✔ Configure the import alias for utils: … ~/utils
✔ Are you using React Server Components? … no
✔ Write configuration to components.json. Proceed? … yes
npm add -D tailwindcss@latest autoprefixer@latest