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)
