Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Rethink of tailwind backend #39

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ _ide_helper.php

# laravel mix temp files
/mix.webpack.js

# Tmp in dev ignore
/assets/dist
6 changes: 3 additions & 3 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ protected function extendBackendControllers(): void
$controller->addViewPath($this->guessOverrideViewPath($controller));

// @TODO: Handle cache busting through some other method
$cssLastModified = filemtime(plugins_path('winter/tailwindui/assets/css/dist/backend.css'));

$controller->addCss(Url::asset('/plugins/winter/tailwindui/assets/css/dist/backend.css'), (string) $cssLastModified);
// @TODO: work out why this was needed
// $cssLastModified = filemtime(plugins_path('winter/tailwindui/assets/dist/css/backend.css'));
// $controller->addCss(Url::asset('/plugins/winter/tailwindui/assets/dist/css/backend.css'), (string) $cssLastModified);

$this->extendBrandSettingsData();

Expand Down
1 change: 0 additions & 1 deletion assets/css/dist/backend.css

This file was deleted.

4 changes: 0 additions & 4 deletions assets/css/src/app.css

This file was deleted.

3 changes: 0 additions & 3 deletions assets/css/src/base.css

This file was deleted.

9 changes: 0 additions & 9 deletions assets/css/src/components/all.css

This file was deleted.

21 changes: 0 additions & 21 deletions assets/css/src/components/badge.css

This file was deleted.

47 changes: 0 additions & 47 deletions assets/css/src/components/button-group.css

This file was deleted.

79 changes: 0 additions & 79 deletions assets/css/src/components/button.css

This file was deleted.

15 changes: 0 additions & 15 deletions assets/css/src/components/counter.css

This file was deleted.

141 changes: 0 additions & 141 deletions assets/css/src/components/fancy-layout.css

This file was deleted.

Loading