Giter Site home page Giter Site logo

Comments (4)

reflection avatar reflection commented on June 30, 2024

Hi Matt,

You are correct. The template javascript isn't loaded by default. For your example to work, make sure the javascript section of the original template in the Flat UI Pro pack is included (js/application.js). Please note that the javascript in there is really just for the template itself, and you should customize it for your needs in your app.

The gem (correctly, in my opinion) only includes the non-template specific javascript (basically everything else).

from designmodo-flatuipro-rails.

nichthinkof30 avatar nichthinkof30 commented on June 30, 2024

Hi @reflection ,
I'm facing the same problem. I see everything in the browser is loaded with all the js, and in my rails, i do include

<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>

I guess it should be everything loaded properly?

from designmodo-flatuipro-rails.

jehughes avatar jehughes commented on June 30, 2024

I wrote up how I got the Flat UI Pro sample page running ... maybe there's something I did that will help? http://joanswork.com/add-flat-ui-pro-to-rails/

from designmodo-flatuipro-rails.

nichthinkof30 avatar nichthinkof30 commented on June 30, 2024

work like charm ! Thanks...it need to copy the application js content to the rails project Thanks @jehughes

from designmodo-flatuipro-rails.

Related Issues (20)

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.