2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Kaminariで各cssフレームワークのviewを生成する

Posted at

やること

やりかた

$ rails g kaminari:view THEMA

THEMAの部分を使っているCSSフレームワークを入力する

ちなみにTHEMAの部分を空欄にして実行したら以下の感じで出力された

    - default
        The default one.
        This one is used internally while you don't override the partials.
    - bootstrap2
            bootstrap2
        - bootstrap3
            bootstrap3
        - bootstrap4
            bootstrap4
        - bourbon
            bourbon
        - bulma
            bulma
        - foundation
            foundation
        - foundation5
            foundation5
        - github
            github
        - google
            google
        - materialize
            materialize
        - purecss
            purecss
        - semantic_ui
            semantic_ui

例えばsemantic-uiのCSSフレームワークのviewを出力する場合は

$ rails g kaminari:view semantic_ui

とすれば良い

バージョン

Rails:5.2.2
ruby:2.5.1
kaminari:1.1.1
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?