CSS Frameworks
Remove Tailwind CSS
- Remove
tailwindcsspackage.
npm uninstall tailwindcss
1
yarn remove tailwindcss
1
- Remove
tailwindconfig.
rm src/tailwind.config.js
1
- Remove
tailwindrequires from.config/postcss.config.js.
module.exports = {
plugins: [
...
- require('tailwindcss/nesting'),
- require('tailwindcss')(path.resolve(__dirname, '../src/tailwind.config.js')),
...
]
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
- Remove
tailwindcssimports fromsrc/css/main.css.
- @import "tailwindcss/base";
- @import "tailwindcss/components";
...
- @import "tailwindcss/utilities";
1
2
3
4
5
6
2
3
4
5
6
Bootstrap 5
Bootstrapopen in new window is the world’s most popular framework for building responsive, mobile-first sites.
Install SASS/SCSS and update files accordingly.
Install
bootstrappackage.
npm install bootstrap
1
yarn add bootstrap
1
- Import
bootstrapintosrc/css/main.scss
@import "~bootstrap/scss/bootstrap";
1
Bulma
Bulmaopen in new window is a free, open source framework that provides ready-to-use frontend components that you can easily combine to build responsive web interfaces.
Install SASS/SCSS and update files accordingly.
Install
bulmapackage.
npm install bulma
1
yarn add bulma
1
- Import
bulmaintosrc/css/main.scss
@import "~bulma/bulma";
1