Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 859 Bytes

RemovingTailwind.adoc

File metadata and controls

21 lines (16 loc) · 859 Bytes

Removing Tailwind CSS from your Project

This project comes with Tailwind CSS installed by default. If you want to use a different CSS framework or none at all, you will have to remove Tailwind CSS first. You can do this by running the following command

npm uninstall tailwindcss @nuxtjs/tailwindcss

Next you have to remove the tailwind build module from the nuxt.config.ts file

  /*
   ** Nuxt.js dev-modules
   */
  buildModules: ['@nuxt/typescript-build', '@nuxtjs/tailwindcss'],

Finally you can delete the tailwind.config.js configuration file as it is no longer needed. This should completely remove tailwind from your project. Keep in mind however that the tailwind css classes are still applied to the existing html in your components.