excid3/madmin

forms + typography have stopped resolving

Closed this issue · 6 comments

ryw commented

These lines are not resolving for me to valid URLs from madmin's application.html.erb template.

<link href="https://unpkg.com/@tailwindcss/forms/dist/forms.min.css" rel="stylesheet" />
<link href="https://unpkg.com/@tailwindcss/typography/dist/typography.min.css" rel="stylesheet" />

In my main Rails app I get forms + typograhy by adding plugins to my tailwind.config.js file:

tailwind.config.js

  content: ["./app/**/*.{html,js,erb}"],
  theme: {
    extend: {},
  },
  plugins: [
    require('@tailwindcss/forms'),
    require('@tailwindcss/typography'),
  ],
}

I don't know tailwind very well, so raising an issue here, maybe there is an easy fix?

ryw commented

Any plans to release a fixed version?

This should be fixed now.

ryw commented

This issue may have returned :( I'm seeing:

https://unpkg.com/@tailwindcss/forms/dist/forms.min.css
[Error] Failed to load resource: the server responded with a status of 404 () (forms.min.css, line 0)

https://unpkg.com/@tailwindcss/typography/dist/typography.min.css
[Error] Failed to load resource: the server responded with a status of 404 () (typography.min.css, line 0)

ryw commented

Well I see you've done that already via 1d9595e hmm

ryw commented

I was still on "1.2.6" never mind :(