Comments (4)
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.
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.
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.
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)
- Sprockets::CircularDependencyError at / app/assets/stylesheets/application.css has already been required HOT 2
- Travis-CI tests fail from this gem HOT 2
- Could not find HTML/UI/css/demo.css HOT 2
- Font files are not copied over HOT 1
- Error: Sprockets::FileNotFound: couldn't find flatuipro.js in Travis-CI HOT 2
- Flat-UI-Pro
- Could not find 'flat-ui.css' in any of your source paths while generating Flat UI Pro in rails app HOT 3
- rake aborted! variable @base is undefined HOT 2
- couldn't find file 'jquery.ui.touch-punch.min' when deploying to production HOT 4
- Dropdown for touch events on iOS and and Android HOT 2
- Flat UI Pro 1.2.5 known issues HOT 6
- able to be used with bootstrap-sass?
- Less::ParseError: variable @brand-primary is undefined HOT 1
- Support for Flat Ui Pro v1.3 HOT 6
- Flat UI Pro 1.3.0 known issues HOT 2
- Navbar dropdown menus not working on iPad and iPhone HOT 1
- Problem to install Flat UI Pro 1.3.0 HOT 3
- Error running generator after updating to rails 4.2 HOT 4
- heroku run rake assets:precompile Sprockets::FileNotFound: couldn't find file 'fileinput' HOT 1
- Generator Supporting Free Version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from designmodo-flatuipro-rails.