Giter Club home page Giter Club logo

Comments (6)

dungbanguyen avatar dungbanguyen commented on August 31, 2024

@victorngkp You could use tag v2.3.2 for Admin LTE latest version and do not require bootstrap in your manifest files, just require what you need: adminlte, plugins...

from adminlte-rails.

vicovictor avatar vicovictor commented on August 31, 2024

Just to confirm, my existing setup:

gem 'bootstrap-sass', '~> 3.3.6'
gem 'sass-rails', '>= 3.2'

@import "bootstrap-sprockets";
@import "bootstrap";
# the rest of other custom imports

//= require jquery
//= require bootstrap-sprockets

So with the branch v2.3.2 of adminlte-rails, I don't have to remove my current setup, but require things that I need from adminlte-rails only?

from adminlte-rails.

vicovictor avatar vicovictor commented on August 31, 2024

Also, it looks like your v2.3.2 is same as Master. Actually I tried your Master branch, but it is not working as expected. The layout and everything is off. I will send you a screenshot few hours later (am working now).

from adminlte-rails.

dungbanguyen avatar dungbanguyen commented on August 31, 2024

v2.3.3 is same as master branch but I have not released new version of this gem yet. Updating README is still in progress. You could try this

gem 'adminlte-rails', git: 'https://github.com/shine60vn/adminlte-rails'
//= require bootstrap
//= require adminlte/adminlte
@import "bootstrap-sprockets";
@import "bootstrap.min.css";
@import "adminlte/adminlte.css";
@import "adminlte/skins/_all-skins.css";
@import "adminlte/plugins/iCheck/flat/blue.css";

from adminlte-rails.

vicovictor avatar vicovictor commented on August 31, 2024

Works like charm. I also installed Font Awesome from here - https://github.com/bokmann/font-awesome-rails

My full code:

# Gemfile
gem "adminlte-rails", git: "https://github.com/shine60vn/adminlte-rails"
gem "bootstrap-sass", "~> 3.3.6"
gem "font-awesome-rails"
# application.scss
@import "bootstrap-sprockets";
@import "bootstrap";
@import "ie10-viewport-bug-workaround";
@import "font-awesome";
@import "adminlte/adminlte.css";
@import "adminlte/skins/_all-skins.css";
@import "adminlte/plugins/iCheck/flat/blue.css";
# application.js
//= require jquery
//= require bootstrap-sprockets
//= require adminlte/adminlte
//= require jquery_ujs
//= require turbolinks
//= require_tree .

from adminlte-rails.

dungbanguyen avatar dungbanguyen commented on August 31, 2024

cool! 👍

from adminlte-rails.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.