Skip to content

Commit

Permalink
chore: clean up inline doc and error message
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed May 23, 2021
1 parent 7941152 commit feb6275
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Expand Up @@ -17,8 +17,9 @@ const windicssModule: Module<UserOptions> = function(moduleOptions) {

// Prevent if wront version of using tailwind module
requireNuxtVersion(nuxt.constructor.version, '2.10')
// Make sure they're not using tailwind
if (nuxtOptions.buildModules.includes('@nuxtjs/tailwindcss')) {
logger.error('Cannot use Windi CSS with tailwindcss. Please remove the `@nuxtjs/tailwindcss` module.')
logger.error('Sorry, you can\'t use Windi CSS with Tailwind CSS. Please remove the `@nuxtjs/tailwindcss` module.')
return
}

Expand Down

0 comments on commit feb6275

Please sign in to comment.