Git Product home page Git Product logo

vscordova-jqm's Introduction

vscordova-jqm

Visual Studio Cordova and JQuery Mobile Step By Step

Rev 2015.1218. Digging around there were no good tutorials covering how to add from scratch jquery mobile to a Visual Studio Cordova ( taco / phonegap ) project. The source code files here are the output of my efforts. Blog post coming soon. Raw notes below.

Original source - http://learn.jquery.com/jquery-mobile/getting-started/

GOALS

  • First, make it work like they have it
  • Then, mod it to use local libs
  • Then, mod it into cordova and make cordova have a base template

STEP ONE, AS IS Create directory for project Create "new website, empty asp.net". Allows you to easily use the vs ide. Key hassle was getting paths right. Click on them in ide.
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>

STEP TWO, LOCAL JQUERY

  • Pull down / clone git repo
  • Create scripts directory if one doesn't exist
  • Create css directory if one doesn't exist
  • Copy scripts ref'd above from git repo external to scripts

STEP THREE, CHANGE TO CORDOVA

  • Create blank cordova
  • Merge css and scripts folder from step two
  • Manually merge in index.html, css in head, script refs in BODY, before cordova
  • Manually merge in scripts and css ref

Feedback welcome....

vscordova-jqm's People

Contributors

jhealy avatar

Watchers

 avatar  avatar

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.