Giter Club home page Giter Club logo

phonegap-vuejs-modularcss's Introduction

PhoneGap Simple VueJS and modular CSS Template

Phonegap template to create apps with VueJS 2 and Modular CSS.

Usage

To create a phonegap project, do the following:

Phonegap CLI:

$ phonegap create myapp --template https://github.com/OmarGM2294/phonegap-vuejs-modularcss.git
$ cd myapp
$ sudo npm install
$ sudo npm run dev

NOTE: Change "myapp" for your application's name

Cordova CLI:

$ cordova create my app --template https://github.com/OmarGM2294/phonegap-vuejs-modularcss.git
$ cd myapp
$ sudo npm install
$ sudo npm run dev

NOTE: Change "myapp" for your application's name

Once you do this, the server will be runngin in http://localhost:3000.

Components in Vue

There are 4 components pre-installed in the template:

  1. Vue Router. See the documentation here.
  2. Vue Resource. See the documentation here.
  3. Vuex. See the documentation here.
  4. Vue i18n. See the documentation here.

Project structure

The projects manage all content in two important folders, assets and components, and inside each one another structure recommended.

An important thing to know, an organized project reflects an organized mind, so do the best to keep this structure if you want.

Troubleshooting

  • If the auto reload is not showing changes at all, please stop the server and run it again.

  • If any of the commands shows an error, run it with sudo.

  • If you get the error "/usr/bin/env: node: No such file or directory", try running this:

    $ sudo ln -s /usr/bin/nodejs /usr/bin/node

Credits

This is a template base in:

LeMaur - Phonegap Vueify

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.