Skip to content

Navigation Menu

Sign in
Appearance settings

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@HundredBillion

Description

@HundredBillion
Issue body actions

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?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.