As the title says, it looks simple and beautiful. Another feature is that it uses a class name that is easy for humans to understand. Official site: https://semantic-ui.com/
Most people use Bootstrap when creating a portfolio with rails, so I decided to incorporate it because I thought that using a different framework would make it visually different and easy to catch the eyes of the employer. I did.
gemfile.
gem 'semantic-ui-sass', github: 'doabit/semantic-ui-sass'
As always, $ bundle install
application.css.scss
@import "semantic-ui";
Rename application.css to application.scss.css.
application.js
//= require semantic-ui
Make changes to application.js as well.
The framework is now working.
reference https://stackoverflow.com/questions/37283642/how-do-i-set-up-a-rails-application-with-semantic-ui
Click here for detailed usage https://qiita.com/sandabu/items/336fe312acbec98d21e3 https://qiita.com/Yuta_Fujiwara/items/8abeda1b92dcaf505149 https://segakuin.com/css/semantic/
Recommended Posts