I'm trying to install semantic ui in my Rails 6 application but doesn't work, i'm following the guide of this repo,(for rails 6 +) and I did some steps like this:
I added a packages with yarn:
yarn add jquery popper.js semantic-ui-sass
After this In config/webpack/environment.js I added this:
const webpack = require("webpack")
environment.plugins.append("Provide", new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Popper: ['popper.js', 'default']
}))
And my last step i did this in app/javascript/packs/application.js:
require("semantic-ui-sass")
After I followed this steps that included in the guide of the repository, nothing changes at all