Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HundredBillion opened this issue Jan 23, 2020 · 0 comments
Open

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

HundredBillion opened this issue Jan 23, 2020 · 0 comments

Comments

@HundredBillion
Copy link

@HundredBillion HundredBillion commented Jan 23, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.