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

4th
Dec 2017
phr0zenx
@phr0zenx
Dec 04 2017 04:55
Question: I have an external JS library file that i'd like to use in one of my AG2IO2 Component. How do i go about it?
Luke Skelhorn
@SCRATK
Dec 04 2017 11:08
@agustinsiles I had the problem with getting a white screen after the splash screen hides. I figured out that it was because The device i was texting it on was a lower version of android then my app would work on
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 11:26
hey guys
I have a page that is the parent for the tabs pages but for some reason the pages styles and components are no longer working correctly when I changed it over to a feture module
I am not sure what to remove to fix it
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:18
is anyone on gitter today vs slack
Luke Skelhorn
@SCRATK
Dec 04 2017 15:23
It seems to be really quite recently
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:28
luke by any chance are you familiar with feature modules?
Luke Skelhorn
@SCRATK
Dec 04 2017 15:29
Try me
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:30
I crreated a feature module called _feeds.
in it contained a filter componentd with tabs component
Luke Skelhorn
@SCRATK
Dec 04 2017 15:30
Okay
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:30
the pages int eh tabs have access ot teh feeds provider fine and load fine
BUT the parent feeds page doesnt load its scss
Nor does the filter component have access tothe feeds providers updated value
NO TS errors
no run time errors beside not working

 import {NgModule} from '@angular/core';
import {IonicPageModule} from 'ionic-angular';
import {FeedsPage} from './feeds';
import { EffectsModule } from '@ngrx/effects';
import {FeedEffects} from '../_feeds/store/feeds.effects'
import {GridPageModule} from './pages/grid/grid.module'
import {ListPageModule} from './pages/list/list.module'
/** Components **/
import {FilterComponent} from './components/filter/filter';
/** Provuders **/
import {FeedsProvider} from './../_feeds/providers/feeds/feeds';
@NgModule({
    declarations: [
        FeedsPage,
        FilterComponent,
    ],
    imports: [
        IonicPageModule.forChild(FeedsPage),
        EffectsModule.runAfterBootstrap(FeedEffects),
        GridPageModule,
        ListPageModule
    ],
    exports: [
    FeedsPage,
        FilterComponent,
    ],
    providers:[
        FeedsProvider
    ],
})
export class FeedsPageModule {}
super lost
Luke Skelhorn
@SCRATK
Dec 04 2017 15:32
First i would suggest using lazy loading
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:33
this is lazy loading
Luke Skelhorn
@SCRATK
Dec 04 2017 15:33
Trying to figure it out myself Your losing me too haha
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:33
this _feeds is ONE module
Luke Skelhorn
@SCRATK
Dec 04 2017 15:33
sorry Just realized after i said it
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:34
that contains tabs
Luke Skelhorn
@SCRATK
Dec 04 2017 15:34
This is gunna sound stupid could it not be becuase of the name of the files??
TBH I'm just going to be shooting in the dark becuase i dont even know myself didn't have this problem when i was using tabs on my last project
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:35
nothing comes to mind?
file names?
Luke Skelhorn
@SCRATK
Dec 04 2017 15:36
Sorry not that i can think of
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:36
in what way file names
Luke Skelhorn
@SCRATK
Dec 04 2017 15:36
Had a slight thought that the underscore could be throwing it off but that does not make sense
Could be that the scss is not within the pages
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:37
nope no that I would get. TS issue
Luke Skelhorn
@SCRATK
Dec 04 2017 15:37
Oh shit yeah you would
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:38
yeha I am stumped here
Luke Skelhorn
@SCRATK
Dec 04 2017 15:38
Sorry not being able to help
Tried to rubber duck it?
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:38
?
what do you mean
Luke Skelhorn
@SCRATK
Dec 04 2017 15:39
Where you explain exactly what you are doing to a rubber duck
Ross Rawlins
@Ross-Rawlins
Dec 04 2017 15:39
I want to ring the neck of a rubber duck
I want everything associated withe the feeds to exist only in the feeds module
I dont want to have the provider delcared elseway
I want it all local to what I am wokring on
आदित्य शर्मा
@aadii104
Dec 04 2017 16:32
Hello guys,
I am just stepping in ionic need guidelines about how to work with ionic,
i have a current web app with angular and I am trying to figure out how to make it in andriod .
Canislupax
@Canislupax
Dec 04 2017 16:33
there are some nice tutorials for ionic 3 at youtube
आदित्य शर्मा
@aadii104
Dec 04 2017 16:35
Please tell me is it possible to use my same code for mobile app as well?
@Canislupax
Canislupax
@Canislupax
Dec 04 2017 16:35
ionic is based on angularjs so only small changes ....
आदित्य शर्मा
@aadii104
Dec 04 2017 16:36
changes related to html ? i guess...
Canislupax
@Canislupax
Dec 04 2017 16:37
depends on you app structure -> i would recommend that you get the starting app and study the code: https://github.com/elastic/elasticsearch.git
sorry
आदित्य शर्मा
@aadii104
Dec 04 2017 16:37
and which UI Framework do u suggest ?
Canislupax
@Canislupax
Dec 04 2017 16:37
ionic start myApp tabs
UI Framework?
you mean Ionic?
आदित्य शर्मा
@aadii104
Dec 04 2017 16:38
like framework7?
Canislupax
@Canislupax
Dec 04 2017 16:38
ionic is simple and you have plenty of nativ os plugins
आदित्य शर्मा
@aadii104
Dec 04 2017 16:39
ohh that's cool and you gave link for elastic search?
Canislupax
@Canislupax
Dec 04 2017 16:39
i dont know framework7 but i dev some apps in ionic and its working that is important
soory wrong copy paste
mean: ionic start myApp tabs
आदित्य शर्मा
@aadii104
Dec 04 2017 16:40
ahh! ok thanks for the help @Canislupax
Luke Skelhorn
@SCRATK
Dec 04 2017 16:40
i use the sidemenu one personally
ionic start myApp sidemenu
आदित्य शर्मा
@aadii104
Dec 04 2017 16:40
thanks @SCRATK
Luke Skelhorn
@SCRATK
Dec 04 2017 16:41
Welcomes What i have used on the past 3 apps i have built and tabs i have just added in later on
Canislupax
@Canislupax
Dec 04 2017 16:41
the documentaion is good and you can modify everything with sass ....
Luke Skelhorn
@SCRATK
Dec 04 2017 16:42
I wish you could change it to .sass instead of .scss