mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
refactor(forms): upgrade to @angular/forms
This commit is contained in:
@ -48,6 +48,7 @@
|
||||
'@angular/core': '/node_modules/@angular/core/bundles/core.umd.js',
|
||||
'@angular/compiler': '/node_modules/@angular/compiler/bundles/compiler.umd.js',
|
||||
'@angular/common': '/node_modules/@angular/common/bundles/common.umd.js',
|
||||
'@angular/forms': '/node_modules/@angular/forms/bundles/forms.umd.js',
|
||||
'@angular/http': '/node_modules/@angular/http/bundles/http.umd.js',
|
||||
'@angular/platform-browser': '/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js',
|
||||
'@angular/platform-browser-dynamic': '/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
|
||||
|
@ -10,8 +10,8 @@ module.exports = {
|
||||
'@angular/common': {
|
||||
commonjs2: ['angular2', 'common']
|
||||
},
|
||||
'@angular/router' : {
|
||||
commonjs2: ['angular2', 'router']
|
||||
'@angular/forms' : {
|
||||
commonjs2: ['angular2', 'forms']
|
||||
},
|
||||
'@angular/http': {
|
||||
commonjs2: ['angular2', 'http']
|
||||
|
@ -28,7 +28,7 @@ System.config({
|
||||
main: 'index.js',
|
||||
defaultExtension: 'js'
|
||||
},
|
||||
'@angular/router': {
|
||||
'@angular/forms': {
|
||||
main: 'index.js',
|
||||
defaultExtension: 'js'
|
||||
},
|
||||
|
@ -15,8 +15,8 @@ module.exports = {
|
||||
'@angular/common': {
|
||||
commonjs2: ['angular2', 'common']
|
||||
},
|
||||
'@angular/router' : {
|
||||
commonjs2: ['angular2', 'router']
|
||||
'@angular/forms' : {
|
||||
commonjs2: ['angular2', 'forms']
|
||||
},
|
||||
'@angular/http': {
|
||||
commonjs2: ['angular2', 'http']
|
||||
|
Reference in New Issue
Block a user