These are chat archives for angular/angular-2-ionic-2

Aug 2017
Aug 09 2017 05:05
@fr4ngus had u converted the image in png or just changed the extension name of the image?
Han van Venrooij
Aug 09 2017 08:14

Hi guys,

I'm trying to compile my app with the Angular AOT compiler (ionic cordova build ios --aot). When inspecting the output, I'm seeing template references for pages eg:

HomePage = __decorate([
        selector: 'page-home',
        templateUrl: 'home.html'
    __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["d" /* NavController */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["d" /* NavController */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3_mind_module_authentication__["AuthenticationService"] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_mind_module_authentication__["AuthenticationService"]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_1__angular_forms__["d" /* FormBuilder */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_forms__["d" /* FormBuilder */]) === "function" && _c || Object])
], HomePage);

Has anyone else had this issue? (Or know what I'm doing wrong?)

Han van Venrooij
Aug 09 2017 08:27
Let me take a step backward. I specifically made an error in my template by using a variable that does not exist. Typically, I'd expect the angular aot compiler to complain that the variable is not available. But for some reason, it does not complain about this.
Aug 09 2017 10:59
Hello, I create a shop for a game in Ionic and I would like to custom to the bone (padding and all) some components. The sass variables are not enough precises for me. Is there a way to redesign them or should I recreate my own components then ?
Aug 09 2017 12:34
There are scss files created with every page/component where you can set styles. If you need the same styling in multiple places ( same look and feel of different pages for example ) give them a class and put it in a central scss file ( like app.scss or an import there )
Aug 09 2017 14:51
Then, I will have to overwrite the default still with some "!important" hack, right ?
Or the class will automatically overwrite the default style ?
Aug 09 2017 19:42
does anyone know if is possible to disable Map toolbar in native-google-map plugin for ionic?