← 返回首页
How do I get Concise installed in a Rails 6 app? · Issue #286 · ConciseCSS/concise.css · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

How do I get Concise installed in a Rails 6 app? #286

New issue
New issue

Description

I'm trying to get concise up and running on a Rails 6 app. I have parts of it working, but the grid does not work. Can anyone tell me what I'm missing?

Here's what I did.

  1. Add conciss via yarn
    in my project, I ran
yarn add concise.css yarn add concise-utils yarn add concise-ui
  1. Import concise - in javascripts/application.scss file, I added
@import "concise.css/concise"; @import "concise-utils/concise-utils"; @import "concise-ui/concise-ui";

and in my javascript/packs/application.js file, I added

require("stylesheets/application.scss")
  1. Update layouts/application.html - I added this line in the head tag
<%= stylesheet_pack_tag 'application' %>

I can get some concise classes to work. <body container> works. but <h1 class="_mtl"> does not. Also

<div grid="row"> <div column="10"> this is 10 columns</div> <div column="2"> this is 2 spaces</dvi> </div>

does not work

bin/webpack - returns no errors.

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    • Open in GitHub Copilot app

    Footer

    © 2026 GitHub, Inc.