-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Description
I've just installed RubyUI (1.0.0.rc1) in a fresh Rails 8.0 project and I'm having issues with @tailwindcss/typography dependencies.
Here's the errors in Firefox:
GET
http://localhost:5000/assets/styles.js
NS_ERROR_CORRUPTED_CONTENT
GET
http://localhost:5000/_/c84e5f75.js
NS_ERROR_CORRUPTED_CONTENT
GET
http://localhost:5000/assets/util/unesc.js
NS_ERROR_CORRUPTED_CONTENT
GET
http://localhost:5000/assets/util/index.js
NS_ERROR_CORRUPTED_CONTENT
Loading module from “http://localhost:5000/assets/styles.js” was blocked because of a disallowed MIME type (“text/plain”).
[localhost:5000](http://localhost:5000/)
Loading module from “http://localhost:5000/assets/util/index.js” was blocked because of a disallowed MIME type (“text/plain”).
[localhost:5000](http://localhost:5000/)
Loading module from “http://localhost:5000/assets/util/unesc.js” was blocked because of a disallowed MIME type (“text/plain”).
[localhost:5000](http://localhost:5000/)
Loading module from “http://localhost:5000/_/c84e5f75.js” was blocked because of a disallowed MIME type (“text/html”).
Chrome doesn't complain but the missing files are clearly not there.
Here's the pins from running bin/rails g ruby_ui:install:
pin 'tw-animate-css' # @1.2.2
pin '@tailwindcss/forms', to: '@tailwindcss--forms.js' # @0.5.10
pin 'mini-svg-data-uri' # @1.4.4
pin 'tailwindcss/colors', to: 'tailwindcss--colors.js' # @4.0.14
pin 'tailwindcss/defaultTheme', to: 'tailwindcss--defaultTheme.js' # @4.0.14
pin 'tailwindcss/plugin', to: 'tailwindcss--plugin.js' # @4.0.14
pin '@tailwindcss/typography', to: '@tailwindcss--typography.js' # @0.5.16
pin 'cssesc' # @3.0.0
pin 'lodash.castarray' # @4.4.0
pin 'lodash.isplainobject' # @4.0.6
pin 'lodash.merge' # @4.6.2
pin 'postcss-selector-parser' # @6.0.10
pin 'util-deprecate' # @1.0.2joemsak and archonic
Metadata
Metadata
Assignees
Labels
No labels