Skip to content

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

@HundredBillion

Description

@HundredBillion

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