You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I modify views/home.blade.php, my command: npx @tailwindcss/cli -i ./src/css/theme.css -o ./assets/css/theme.css --watch generates or regenerates a css file in assets/css/ called theme.css. However, when I modify my css file in: src/css/theme.css, the command will regenerate my CSS but will not take into account the *.blade.php files, so I'm systematically forced to manually save each file present in directory views to have a correct css in assets/css. And so find my correct layout.
I've been looking for the problem for a week now, trying hundreds of different configurations but to no avail... Could you please explain why I'm having this problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm out of ideas and solutions, which is why I'm asking for your help...
I started working on a theme for a CMS, CMS developed with Laravel. The themes can be found in the folder
./resources/themes folder.
My theme structure is:
.
└── my_theme/
├── assets/
│ ├── css
│ ├── img
│ └── js/
│ ├── jquery-3.7.1.min.js
│ └── theme.js
├── views/
│ ├── auth/
│ │ ├── login.blade.php
│ │ └── register.blade.php
│ ├── components
│ ├── elements/
│ │ ├── aside.blade.php
│ │ └── footer.blade.php
│ ├── layouts/
│ │ └── default.blade.php
│ ├── pages
│ ├── partials
│ └── home.blade.php
├── src/
│ ├── css/
│ │ ├── components/
│ │ │ ├── informational
│ │ │ └── inputs
│ │ ├── components.css
│ │ └── theme.css
│ ├── js
│ └── scss
├── config.json
├── LICENSE.md
├── package.json
└── theme.json
When I modify views/home.blade.php, my command: npx @tailwindcss/cli -i ./src/css/theme.css -o ./assets/css/theme.css --watch generates or regenerates a css file in assets/css/ called theme.css. However, when I modify my css file in: src/css/theme.css, the command will regenerate my CSS but will not take into account the *.blade.php files, so I'm systematically forced to manually save each file present in directory views to have a correct css in assets/css. And so find my correct layout.
I've been looking for the problem for a week now, trying hundreds of different configurations but to no avail... Could you please explain why I'm having this problem?
Thank you so much,
Beta Was this translation helpful? Give feedback.
All reactions