generated from srid/ema-template
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tailwind for liveserver (#503)
This change makes the liveserver works with the latest tailwind version, similarly to what the site export produce.
- Loading branch information
1 parent
b38035c
commit 36d27aa
Showing
9 changed files
with
81 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
emanote/default/_emanote-live-server/tailwind/2.2.2/tailwind.min.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
Files in this directory are excluded from the static site, as they are used only the live server. | ||
|
||
To upgrade the tailwind CDN css, download it from a URL like | ||
https://unpkg.com/tailwindcss@2.2.2/dist/tailwind.min.css and position it in the | ||
appropriate directory, before updating the path in `LiveServerFiles.hs`. | ||
|
||
Unfortunately there is no CDN for 3.x: https://github.com/tailwindlabs/tailwindcss/issues/6355 | ||
To upgrade the tailwind CDN js: | ||
curl -L https://cdn.tailwindcss.com > tailwind.min.js |
63 changes: 63 additions & 0 deletions
63
emanote/default/_emanote-live-server/tailwind/tailwind.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters