Code Monkey home page Code Monkey logo

nativescript-vue-typescript-starter's Introduction

NS Vue Typescript Sample

A native mobile application built with NativeScript-Vue in Typescript

Technologies

NativeScript

A cross-platform Javascript platform that allows writing native (not hybrid) mobile apps for iOS and Android using Javascript.

https://nativescript.org

Vue JS

A modern Javascript frontend framework, strongly believing in single file components.

https://vuejs.org

Vue Router

Default router (made by official maintainers of Vue JS)

https://router.vuejs.org/

Vuex

Default state management framework for Vue (made by official maintainers of Vue JS)

https://vuex.vuejs.org/

Typescript

A language developed by Microsoft that is a superset of Javascript ES2017 standard. Adds the concept of strong types, interfaces to Javascript. Compiles down to Javascript.

https://typescriptlang.org

Usage

Installing and Running

Here <platform> can be android or ios

# Install dependencies
npm install
# -- or -- 
yarn 

# Build, watch for changes and run the application
tns run <platform> --bundle

Debugging vs Production

During usual run, project runs with following settings -

  1. Code is not minified
  2. Vue.config.silent is false, so every component creation is logged
# Build, watch for changes and debug the application
tns debug <platform> --bundle

To minify code, and prevent Vue logs -

# Build for production
tns build <platform> --bundle --env.production

tns run <platform> --bundle --env.production

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.