Best Practices

Here is a list of good practices to follow when working with Firetask


Keep the things simple to understand splitting your business logic into components and providers, also whenever is possible, try to reuse existing Firetask features such as components and providers.

Never touch Firetask Module

Firetask is built to work independently through modules and providers, just import what you want into your app.module and be happy. If you are looking for customize some firetask component, you can just generate a new component with ionic cli, copy and paste the desired content (ts, html and scss) of firetask component, remembering to remove the prefix ft-. It will help when you had to upgrade the entire folder modules/firetask, for example.

Changing the Pages

Generate your own pages with ionic-cli, then edit what is being fired by Firetask, by the configuration file located at configs/pages.ts

Changing SASS

All colors used in the app are easily customizable by editing the variables.scss located at src/theme.

Using Firetask Components

Firetask has a shared module for only components called FtComponentModule. To use any component with your Ionic app you need just to import it

  declarations: [
  imports: [
    // ...
  bootstrap: [IonicApp],
  entryComponents: [
  providers: [
    // ...
export class AppModule {}

results matching ""

    No results matching ""