Skip to content

Added Bootstrap option #3

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

Merged
merged 19 commits into from
Sep 10, 2021
Merged

Added Bootstrap option #3

merged 19 commits into from
Sep 10, 2021

Conversation

AndreyAzimov
Copy link
Contributor

@AndreyAzimov AndreyAzimov commented Sep 8, 2021

Run: rails css:install:bootstrap

@leastbad
Copy link

leastbad commented Sep 8, 2021

I think that this is awesome.

andreyazimov added 3 commits September 9, 2021 16:00
…r some reason. changed from '~bootstrap/scss/bootstrap' to '../../../node_modules/bootstrap/scss/bootstrap'
@gczh
Copy link

gczh commented Sep 9, 2021

Awesome stuff @AndreyAzimov 🍻

David Heinemeier Hansson added 7 commits September 9, 2021 16:50
* main:
  Don't enhance test:prepare unless it exists (rails#9)
  Ensure bin/dev is executable (rails#8)
  Bump version for 0.1.4
  Exclude .keep file from .gitignore
  Mention required npx version in readme
  Bump version for 0.1.3
  Ensure port 3000
  Bump version for 0.1.2
  Add bin/dev to run multiple processes
  Update Readme: fix stylsheet tag method
Or Sprockets will try to install sassc!
@dhh dhh merged commit 313ca42 into rails:main Sep 10, 2021
@defsdoor
Copy link

Is this for webpacker use only ?

Is it strange that there are specific framework options but only when using webpacker - especially when this is (rightly) not the default method now.

sass bootstrap support with esm js imports would be a nice option (although pretty trivial to do manually)

@dhh
Copy link
Member

dhh commented Sep 10, 2021

No, this does not require Webpacker. You can use it with either importmaps or jsbundling-rails.

@defsdoor
Copy link

aah - I saw yarn being used and assumed it was webpacking - is yarn a base requirement for rails now ?

@dhh
Copy link
Member

dhh commented Sep 10, 2021

Nope. Just a requiring for using node-based bundling tools.

@jamesez
Copy link

jamesez commented Sep 10, 2021

I found bootstrap 5 needs to go through autoprefixer or some styles don't work. I'm dragging in postcss and running postcss --use autoprefixer

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

Successfully merging this pull request may close these issues.

8 participants