Skip to content

Takmg/bootstrap-honoka-rails

Repository files navigation

Bootstrap-Honoka-Rails

engilish/japanese

Honoka is a Bootstrap theme that can display Japanese beautifully. bootstrap-honoka-rails can easily install Honoka, Umi , Nico and Rin on Rails.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap-honoka-rails' , '~>4.4.1' # or '~> 3.3.7'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap-honoka-rails

Usage

Add to application.css *= require _honoka
For bootstrap ver3 you need *= _bootstrap-sprockets.

app/assets/stylesheets/application.css

/*
 *= require _bootstrap-sprockets # Add line * v3 only
 *= require _honoka # Add line
 *= require_self
 */

and add to application.js

`//= require popper` // * bootstrap ver4 later
`//= require bootstrap-sprockets`

app/assets/javascripts/application.js

//= require jquery2
//= require rails-ujs
//= require activestorage
//= require popper # add line * v4 later
//= require bootstrap-sprockets # add line
//= require turbolinks
//= require_tree .

If you loaded bootstrap-sprockets, you do not need to load bootstrap.min .
Because Dropdown features may not work properly.
Please check here for more details.
(It has been tested on production environment. The sample app is in the 'test/dummy' directory. )


Certain versions also support Nico , Umi and Rin.

app/assets/stylesheets/application.css

 *= require _umi # Add line
 *= require_self

or

 *= require _nico # Add line
 *= require_self

or

 *= require _rin # Add line
 *= require_self

Please check VERSIONS.md for Honoka Nico Umi Rin compatible Ver.

Notice

bootstrap-honoka-rails uses bootstrap or bootstrap-sass internally.

License

The gem is available as open source under the terms of the MIT License.

Supported bootstrap themes

Source URL ... https://github.com/windyakin/Honoka

The MIT License (MIT)

Copyright (c) 2015 windyakin

License View All

Source URL ... https://github.com/ysakasin/Umi

The MIT License (MIT)

Copyright (c) 2015 ysakasin

License View All

Source URL ... https://github.com/kubosho/Nico

The MIT License (MIT)

Copyright (c) 2015 windyakin, kubosho

License View All

Source URL ... https://github.com/raryosu/Rin

The MIT License (MIT)

Copyright (c) 2016 Hagihara Ryosuke

License View All

About

bootstrap-honoka-rails can easily install honoka, umi, nico, rin on rails.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages