MarkySparky / ionic2-angular2-ts-redux-boilerplate

Ionic2 Typescript boilerplate with WKWebView, Redux, Immutablejs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is it?

This is an Ionic2 boilerplate. Ionic2 uses Angular2 and this particularly boilerplate uses typescript, redux, immutablejs and the much improved WKWebView.


Dependencies

nvm install 4.2.0
npm install -g ionic@beta

# nvm is not a required, but suggested if you want to keep sane.

Install

git clone https://github.com/janjarfalk/ionic2-angular2-ts-redux-boilerplate.git
cd ionic2-angular2-ts-redux-boilerplate
nvm use 4.2.0 && npm install && ionic plugin add cordova-plugin-wkwebview-engine && ionic plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#master:local-webserver

# You need to run the Command Prompt as administrator on Windows.

Start Web

ionic serve

Start IOS Simulator

ionic run ios && ionic run ios

# Yes... you need to do it twice the first time.

Code Style Conventions

Our Code Style Conventions are described in and enforce using tslint.json and .editorconfig. In-depth explination of the rules can be found at palantir/tslint, tslint-microsoft-contrib and editorconfig.org. Common warnings and solutions below.

About

Ionic2 Typescript boilerplate with WKWebView, Redux, Immutablejs.


Languages

Language:TypeScript 35.6%Language:JavaScript 29.8%Language:CSS 22.2%Language:HTML 12.4%