Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/takmg/bootstrap-honoka-rails

bootstrap-honoka-rails can easily install honoka, umi, nico, rin on rails.
https://github.com/takmg/bootstrap-honoka-rails

bootstrap bootstrap3 bootstrap4 honoka lovelive nico rails rin umi

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Bootstrap-Honoka-Rails

[engilish](README.md)/[japanese](README_ja.md)

[Honoka](https://github.com/windyakin/Honoka) is a Bootstrap theme that can display Japanese beautifully.
bootstrap-honoka-rails can easily install [Honoka](https://github.com/windyakin/Honoka), [Umi](https://ysakasin.github.io/Umi/) , [Nico](https://nico.kubosho.com/) and [Rin](https://rinhoshizo.la/) on Rails.

## Installation

Add this line to your application's Gemfile:

```ruby
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

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

and add to application.js

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

app/assets/javascripts/application.js

```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](https://github.com/twbs/bootstrap-sass/issues/714) for more details.

(It has been tested on production environment. The sample app is in the 'test/dummy' directory. )

---

Certain [versions](VERSIONS.md) also support Nico , Umi and Rin.

app/assets/stylesheets/application.css

```css
*= require _umi # Add line
*= require_self
```

or

```css
*= require _nico # Add line
*= require_self
```

or

```css
*= require _rin # Add line
*= require_self
```

Please check [VERSIONS.md](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](https://opensource.org/licenses/MIT).

## Supported bootstrap themes

#### [Honoka](http://honokak.osaka/)

Source URL ... [https://github.com/windyakin/Honoka](https://github.com/windyakin/Honoka)

> The MIT License (MIT)
>
> Copyright (c) 2015 windyakin

[License View All](https://github.com/windyakin/Honoka/blob/master/LICENSE)

#### [Umi](https://ysakasin.github.io/Umi/)

Source URL ... [https://github.com/ysakasin/Umi](https://github.com/ysakasin/Umi)

> The MIT License (MIT)
>
> Copyright (c) 2015 ysakasin

[License View All](https://github.com/ysakasin/Umi/blob/master/LICENSE)

#### [Nico](https://nico.kubosho.com/)

Source URL ... [https://github.com/kubosho/Nico](https://github.com/kubosho/Nico)

> The MIT License (MIT)
>
> Copyright (c) 2015 windyakin, kubosho

[License View All](https://github.com/kubosho/Nico/blob/master/LICENSE)

#### [Rin](https://rinhoshizo.la/)

Source URL ... [https://github.com/raryosu/Rin](https://github.com/raryosu/Rin)

> The MIT License (MIT)
>
> Copyright (c) 2016 Hagihara Ryosuke

[License View All](https://github.com/raryosu/Rin/blob/master/LICENSE)