fixed tailwind class not reflecting when using in markup

This commit is contained in:
somrat sorkar 2023-07-31 10:16:53 +06:00
parent 8b50622a2b
commit 56544f9e86
3 changed files with 8 additions and 17 deletions

View File

@ -1,9 +0,0 @@
---
title: "Elements"
# meta title
layout: "search"
# meta description
description: "This is meta description"
# save as draft
draft: false
---

View File

@ -43,14 +43,14 @@ useResourceCacheWhen = 'fallback'
[build.buildStats] [build.buildStats]
enable = true enable = true
[[build.cachebusters]] [[build.cachebusters]]
source = 'assets/.*\.(js|ts|jsx|tsx)' source = 'assets/watching/hugo_stats\.json'
target = '(js|scripts|javascript)' target = 'style\.css'
[[build.cachebusters]]
source = 'assets/.*\.(css|sass|scss)$'
target = '(css|styles|scss|sass)'
[[build.cachebusters]] [[build.cachebusters]]
source = '(postcss|tailwind)\.config\.js' source = '(postcss|tailwind)\.config\.js'
target = '(css|styles|scss|sass)' target = 'css'
[[build.cachebusters]]
source = 'assets/.*\.(js|ts|jsx|tsx)'
target = 'js'
[[build.cachebusters]] [[build.cachebusters]]
source = 'assets/.*\.(.*)$' source = 'assets/.*\.(.*)$'
target = '$1' target = '$1'
@ -65,7 +65,7 @@ home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"]
# See https://github.com/disintegration/imaging # See https://github.com/disintegration/imaging
# Default JPEG or WebP quality setting. Default is 75. # Default JPEG or WebP quality setting. Default is 75.
quality = 90 quality = 90
resampleFilter = "lanczos" resampleFilter = "Lanczos"
############################ Caches ############################## ############################ Caches ##############################
[caches] [caches]

View File

@ -1,7 +1,7 @@
{ {
"name": "hugoplate", "name": "hugoplate",
"description": "hugo tailwindcss boilerplate", "description": "hugo tailwindcss boilerplate",
"version": "1.7.0", "version": "1.7.1",
"license": "MIT", "license": "MIT",
"author": "zeon.studio", "author": "zeon.studio",
"scripts": { "scripts": {