feat(demo): load ionic/core

This commit is contained in:
Ken Sodemann
2017-11-14 22:05:55 -06:00
parent 44025c8c8f
commit 98302fe938
3 changed files with 9 additions and 12 deletions

View File

@ -9,7 +9,8 @@
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
"favicon.ico",
{ "glob": "**/*", "input": "../../../core/dist", "output": "./ionic/core" }
],
"index": "index.html",
"main": "main.ts",

View File

@ -1,19 +1,14 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
@NgModule({
declarations: [
AppComponent
],
imports: [
AppRoutingModule,
BrowserModule
],
declarations: [AppComponent],
imports: [AppRoutingModule, BrowserModule],
providers: [],
bootstrap: [AppComponent]
bootstrap: [AppComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AppModule { }
export class AppModule {}

View File

@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script src="ionic/core/ionic.js"></script>
</head>
<body>
<app-root></app-root>