Can use both Tailwind css and Bootstrap 4 at the same time?

后端 未结 3 1091
终归单人心
终归单人心 2021-01-21 18:59

My project is currently Vuejs which use BootstrapVue components (seems to use bootstrap 4 css).

I am trying to use Tailwind css for new custom components.

Is it po

3条回答
  •  我在风中等你
    2021-01-21 19:21

    You can solve classes conflict using a prefix

    // tailwind.config.js
    module.exports = {
      prefix: 'tw-',
    }
    

    Note: probably you will have a problem with normalize.css, which used in @tailwind base

提交回复
热议问题