EOP Frontend 介绍
这是一套内部使用的界面系统
包含常用组件, 主要应用在 Rails 项目当中。
包涵脚手架的生成模版。
包含常用组件, 主要应用在 Rails 项目当中。
包涵脚手架的生成模版。
EOP Frontend 使用帮助
Rails 中使用 rails 4.0 以上
gem 'compass-rails', '~> 3.0', '>= 3.0.2' # compass 必须是这个版本 gem 'simple_form' # 此框架表单是根据simple_form生成的 gem 'jquery-rails' # 如果是rails 5 gem "eop_frontend", git: "git@git.wityun.com:eop/eop_frontend.git"修改 config/environments/production.rb:
config.assets.js_compressor = Uglifier.new(harmony: true)执行:
bundle install rails g eop_frontend:install这样就可以使用相关的样式了!