If you want to import JavaScript and/or CSS files from a library like Bootstrap or JQuery Mobile (or any other file) into your application you can do so in the Resources section. Problem is that such libraries probably rely on a fixed (relative) folder structure. Although you can also create that in the Resources section I find it to be quite a hassle.
Luckily there is a whole lot easier and faster solution:
- Open the Package Explorer
- Drag the entire folder you would like to import from your computer to the WebContent folder.
- Done!
The files and folders you imported can now be referenced using a URL that’s relative to the root of the application/ database.
nice staff. we use it already.
Nice tip Mark. Very usefull.
you’re cheating on dojo mobil 😉
Wouldn’t you if she looked so much better?
if she looks so much better, OK maybe once then…
Has anyone defined a ‘oneUI’ theme for jQuery? =)