fix the darn two tailwind issue to get engines and apps styles
This commit is contained in:
parent
b48247c103
commit
a99b33d236
@ -7,8 +7,7 @@
|
|||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
= csp_meta_tag
|
= csp_meta_tag
|
||||||
= stylesheet_link_tag "application"
|
= stylesheet_link_tag "application"
|
||||||
= stylesheet_link_tag "tailwind" , "inter-font", "data-turbo-track": "reload"
|
= stylesheet_link_tag "tailwind" #, "inter-font", "data-turbo-track": "reload"
|
||||||
= stylesheet_link_tag "merged/merged"
|
|
||||||
|
|
||||||
= javascript_importmap_tags
|
= javascript_importmap_tags
|
||||||
%body
|
%body
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||||
|
|
||||||
|
const execSync = require('child_process').execSync;
|
||||||
|
const output = execSync('bundle show merged', { encoding: 'utf-8' });
|
||||||
|
const fullname = output.trim() + '/app/**/*.{haml,html,rb}'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
'./public/*.html',
|
'./public/*.html',
|
||||||
'./app/helpers/**/*.rb',
|
'./app/helpers/**/*.rb',
|
||||||
'./app/javascript/**/*.js',
|
'./app/javascript/**/*.js',
|
||||||
'./app/views/**/*.{erb,haml,html,slim}' ,
|
'./app/views/**/*.{erb,haml,html,slim}' ,
|
||||||
'../app/views/**/*.{erb,haml,html,slim}' ,
|
fullname
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
|
Loading…
Reference in New Issue
Block a user