Skip to content

How to host my website made with tailwind css to hostinger #88

Answered by eddiejaoude
Arvindjitta asked this question in Q&A
Discussion options

You must be logged in to vote

I recommend using GitHub Pages.

Tailwindcss has a few ways to post process / build for hosting https://tailwindcss.com/docs/installation#using-tailwind-cli

  • CLI
  • Webpack
  • Gulp
  • and more on the link above

The easiest thing to do is use the CDN. It is less performant, but these performance improvements can be made later on. Limitation on using the CDN

  • You can't customize Tailwind's default theme
  • You can't use any directives like @apply, @Variants, etc.
  • You can't enable features like group-hover
  • You can't install third-party plugins
  • You can't tree-shake unused styles

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eddiejaoude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants