Skip to content

Instantly share code, notes, and snippets.

@AngelMunoz
Created December 3, 2019 02:13
Show Gist options
  • Save AngelMunoz/091837ba8cbd2cdf93b89989edaef0a7 to your computer and use it in GitHub Desktop.
Save AngelMunoz/091837ba8cbd2cdf93b89989edaef0a7 to your computer and use it in GitHub Desktop.
aurelia-stencil-ionic sample
/// <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