Comments (2)
Upgrading to asset pipeline could be a big change and break those deploymnts who are already using it with resources. I am thinking wht can we do. Seriously i personally dont like asset pipeline, there are some limitations, like css / js cant be specified in same bundle, bundling cant be disabled in production etc, but if resources is not going to be maintained, we will have to replace
from nimble.
by putting the right manifests in the assets directory it is possible to support both as assets-pipeline will look in the web-app folder as well as the assets folder.
it took me two days, but that included a whole bunch of other stuff.
the hard part it getting bootstrap right. note that i have previously upgraded to bootstrap3
in my app i use:
mordernizr/js-webshim to support IE8 (which i have to do)
metisMenu for an sidebar accordian menu
maritup, bootstrap-checkbox, bootstrap-select, bootstrap-validator and select2 for various UI components
my application.js file is:
//= require modernizr/modernizr-2.7.1.js
//= require js-webshim/dev/polyfiller.js
//= require js-webshim/webshim.js
//= require jquery.js
//= require bootstrap/js/affix.js
//= require bootstrap/js/alert.js
//= require bootstrap/js/button.js
//= require bootstrap/js/carousel.js
//= require bootstrap/js/collapse.js
//= require bootstrap/js/dropdown.js
//= require bootstrap/js/modal.js
//= require bootstrap/js/tooltip.js
//= require bootstrap/js/popover.js
//= require bootstrap/js/scrollspy.js
//= require bootstrap/js/tab.js
//= require bootstrap/js/transition.js
//= require metisMenu/metisMenu.js
//= require sidebar.js
//= require bootstrap-checkbox/js/checkbox-x.js
//= require bootstrap-select/js/bootstrap-select.js
//= require bootstrap-validator/js/bootstrapValidator.js
//= require select2/select2.js
//= require MarkItUp/markitup/jquery.markitup.js
//= require MarkItUp/markitup/sets/html/set.js
//= require jquery-jgrowl/jquery.jgrowl.js
//= require jquery-pwstrength-bootstrap/pwstrength-bootstrap-1.2.2.js
//= require nimble.ui.js
//= require nimble.core.js
i use bootswatch to provide my bootstrap theme.
i copied font-awesome into my assets directory becuase i could not get the plugn to play nicely.
my application.css file is:
*= require bootswatch/${grails.util.Holders.getGrailsApplication().config.theme}/theme.less
*= require metisMenu/metisMenu.css
*= require sidebar/sidebar.less
*= require bootstrap-checkbox/css/checkbox-x.css
*= require bootstrap-select/css/bootstrap-select.css
*= require bootstrap-validator/css/bootstrapValidator.css
*= require select2/select2.css
*= require select2-bootstrap3.css
*= require MarkItUp/markitup/skins/markitup/style.css
*= require MarkItUp/markitup/sets/html/style.css
*= require font-awesome.css
from nimble.
Related Issues (20)
- problems with 0.6 HOT 3
- anyone doing a port of nimble to foundation HOT 5
- grails-app/views/account/createuser.gsp HOT 3
- setting federated = true for a user causes error on show user screen
- Make it possible to configure the nimble admin header title
- Cannot modify any of the nimble views HOT 1
- Upgrade to Bootstrap 3 HOT 3
- Configuring field names HOT 3
- Incompatibility with grails 2.3.7 LATEST HOT 6
- Facebook integration HOT 3
- compile issues with Grails 2.4.0 HOT 7
- error in LevelPermission domain class HOT 1
- adding a group based security filter
- is this project dead HOT 1
- No module found with name [nimble-login] HOT 2
- add asset-pipeline support HOT 1
- unable to access to Demo using provided credentials HOT 2
- removepermission links generated wrong
- During upgrade to Grails 3, Nimble plugin has Missing Classes HOT 6
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 nimble.