Closed Overload119 closed 2 years ago
I just ended up using <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@animxyz/core">
Is it possible you are using node-sass
to compile your .scss
files when building? AnimXYZ needs dart-sass to properly compile.
That would explain it. Dart size is not supported in rails.
I have been struggling trying to install this in a Rails project.
/core/build.scss
and dragged it into thevendors/stylesheets
directoryvendor/assets/stylesheets/animxyz
in
app/assets/stylesheets/application.sass
I used@import "animxyz/animxyz"