File Node_Modules di tailwindcss di hapus

disini saya baru saja menginstall tailwindcss lewat npm, dan mendapatkan folder yang bernama "NODE_MODULES"
apakah kalau folder "node_modules" itu di hapus fitur dari tailwindcss akan berkurang seperti mengambil di cdnjs?
avatar creativechannel_google

@creativechannel_google

7 Kontribusi 8 Poin

Login untuk menanggapi


Jawaban Terpilih

node_modules adalah folder yang berisi package package yang kamu install dengan npm / yarn.

Tailwind sendiri kamu bisa pakai cdn, bisa juga install via npm, baca di dokumentasi cara install tailwind  ,  jika kamu install via cdn:

Before using the CDN build, please note that many of the features that make Tailwind CSS great are not available without incorporating Tailwind into your build process: 
You can't customize Tailwind's default theme  

You can't use any directives like @apply, @variants, etc.  

You can't enable additional variants like group-focus  

You can't install third-party plugins  

You can't tree-shake unused styles

avatar hilmanski

@hilmanski

2245 Kontribusi 1883 Poin

Jawaban

node_modules adalah folder yang berisi package package yang kamu install dengan npm / yarn.

Tailwind sendiri kamu bisa pakai cdn, bisa juga install via npm, baca di dokumentasi cara install tailwind  ,  jika kamu install via cdn:

Before using the CDN build, please note that many of the features that make Tailwind CSS great are not available without incorporating Tailwind into your build process: 
You can't customize Tailwind's default theme  

You can't use any directives like @apply, @variants, etc.  

You can't enable additional variants like group-focus  

You can't install third-party plugins  

You can't tree-shake unused styles

avatar hilmanski

@hilmanski

2245 Kontribusi 1883 Poin

Login untuk menanggapi


Login untuk gabung berdiskusi