nice preflight didnt work for cms itself
This commit is contained in:
parent
756afe77b8
commit
de0a66a2fd
18
README.md
18
README.md
@ -106,24 +106,16 @@ If Merged served the root:
|
|||||||
root "merged/view#view" , id: 'index'
|
root "merged/view#view" , id: 'index'
|
||||||
```
|
```
|
||||||
|
|
||||||
Include merged stylesheet to your asset
|
Include merged stylesheet to your layout (NOT asset
|
||||||
pipeline. Merged switches tailwind preflight off and assumes you
|
pipeline).
|
||||||
use tailwind in your app or otherwise reset.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
*= require merged/merged
|
|
||||||
```
|
|
||||||
|
|
||||||
This also means means you should have the tailwind include
|
|
||||||
tag before the application in your layout.
|
|
||||||
|
|
||||||
```
|
|
||||||
= stylesheet_link_tag "tailwind" , "inter-font", "data-turbo-track": "reload"
|
|
||||||
= stylesheet_link_tag "application"
|
= stylesheet_link_tag "application"
|
||||||
|
= stylesheet_link_tag "tailwind" , "inter-font", "data-turbo-track": "reload"
|
||||||
|
= stylesheet_link_tag "merged/merged"
|
||||||
```
|
```
|
||||||
|
|
||||||
If you use tailwind with the basic install, you must change the
|
If you use tailwind with the basic install, add it after tailwind
|
||||||
order of stylesheet loaded in your application layout
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
Ask first.
|
Ask first.
|
||||||
|
@ -7,9 +7,6 @@ module.exports = {
|
|||||||
'./app/javascript/**/*.js',
|
'./app/javascript/**/*.js',
|
||||||
'./app/views/**/*.{erb,haml,html,slim}'
|
'./app/views/**/*.{erb,haml,html,slim}'
|
||||||
],
|
],
|
||||||
corePlugins: {
|
|
||||||
preflight: false,
|
|
||||||
},
|
|
||||||
plugins: [
|
plugins: [
|
||||||
require('@tailwindcss/forms'),
|
require('@tailwindcss/forms'),
|
||||||
require('@tailwindcss/aspect-ratio'),
|
require('@tailwindcss/aspect-ratio'),
|
||||||
|
Loading…
Reference in New Issue
Block a user