Skip to content

Instantly share code, notes, and snippets.

View lukashlobil's full-sized avatar

Lukas Hlobil lukashlobil

  • Praha
View GitHub Profile
<div class="form-row container-fluid">
<table>
<thead>
<tr>
<th>Osoba</th>
<th>Funkce</th>
<th>Promo akce</th>
<th>Typ kontaktu</th>
<th>Kontakt</th>
<th>Poznámka</th>
@lukashlobil
lukashlobil / package.json
Last active June 26, 2017 11:32
webpack config
{
"private": true,
"version": "0.1.4",
"nativescript": {
"id": "..."
"tns-ios": {
"version": "3.0.1"
},
"tns-android": {
"version": "3.0.1"
@lukashlobil
lukashlobil / app.module.ts
Last active April 24, 2017 11:01
Webpack angular 4
import {NativeScriptModule} from 'nativescript-angular/nativescript.module'; //this line always first !
import {NativeScriptFormsModule} from 'nativescript-angular/forms';
import {NativeScriptHttpModule} from 'nativescript-angular/http';
import {NativeScriptRouterModule} from 'nativescript-angular/router';
import {NgModule, APP_INITIALIZER, LOCALE_ID, InjectionToken} from '@angular/core';
import {RouterExtensions} from 'nativescript-angular/router/router-extensions';
import {registerElement} from 'nativescript-angular/element-registry';
//core
import {routes, navigateableComponents} from './app.routes';
@lukashlobil
lukashlobil / main.js
Last active April 17, 2017 15:05
Webpack config
import {platformNativeScriptDynamic} from 'nativescript-angular/platform';
import {Config} from './shared/config/config';
//This is in a separate file, because we might want to do more configuration like setting pro mode on or enable additional logging
Config.platform = 'mobile';
//do NOT move this line, needs to be just before the bootstrap, otherwise it will compile before your config
import {NativeModule} from './native.module';
import {isIOS} from 'platform';
declare var GMSServices: any;