Created
December 3, 2019 02:13
-
-
Save AngelMunoz/9b1fb8d8407510eea3d554caa1a89dd2 to your computer and use it in GitHub Desktop.
aurelia-stencil-ionic sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="aurelia-loader-webpack/src/webpack-hot-interface"/> | |
import { Aurelia } from 'aurelia-framework' | |
import environment from './environment'; | |
import { PLATFORM } from 'aurelia-pal'; | |
import { defineCustomElements } from '@ionic/core/loader'; | |
import { defineCustomElements as defineShared } from '@project/shared/dist/loader'; | |
import '@ionic/core'; | |
import { setupConfig } from '@ionic/core'; | |
import authConfig from 'auth.config'; | |
setupConfig({ | |
mode: "md", | |
animated: true, | |
spinner: "dots" | |
}); | |
export async function configure(aurelia: Aurelia) { | |
await Promise.all([defineCustomElements(window), defineShared(window)]); | |
/* the rest of the usual aurelia configuration */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment