styled2tailwind
๐ Transform your Styled-Components into TailwindCSS with this handy codemod.
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- build-and-test-runner.yml
- index.tsx
- index.ts
- css-to-tailwind.converter.ts
- css-to-tailwind.utils.ts
- create-dynamic-styles.ts
- find-component-usage.ts
- format-props.ts
- get-stylesful-component.ts
- ast-to-css.ts
- code-to-ast.ts
- types.ts
- asts.ts
- test-utils.js
- ast-to-css.test.js
- code-to-ast.test.js
- create-dynamic-styles.test.js
- css-to-tailwind.test.js
- find-component-usage.test.js
- format-props.test.js
- get-stylesful-component.test.js
- .eslintrc
- .gitignore
- LICENSE
- package.json
- prettier.config.cjs
- README.md
- renovate.json
- reset.d.ts
- tsconfig.json
- yarn.lock
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/Blazity/styled2tailwind
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd styled2tailwind
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Node.js
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
npm install
package.json์ ๋ช ์๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ด๋ ค๋ฐ์ ์ค์นํฉ๋๋ค.
npm start
๊ฐ๋ฐ/์คํ ์๋ฒ๋ฅผ ์ผญ๋๋ค.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
// repository documentation
Was this content helpful?
(0 ratings)
