Ionic3에 입문해 본다~그 5 Angular4 튜토리얼③~
Hero 클래스 만들기
이것은 그대로 튜토리얼대로.

import의 경로가 다르므로 조심한다.
지금 입니다만, NgModule는 사용하지 않기 때문에 import 하지 않아도 됩니다.


빌드해 보면 이런 느낌이 듭니다.

UppercasePipe로 서식 지정
특히 고생하지 않고 튜토리얼이 그대로 움직입니다.


양방향 데이터 바인딩
input 태그로부터 받은 캐릭터 라인을 어플리케이션 측에서 받습니다.

또한, 튜토리얼에서는 에러가 나오는 말과 이야기가 계속되지만, Ionic에서는 에러가 나오지 않습니다.
... 뭐야?
Ionic 프레임워크를 본 느낌으로는 특별한 설명도 없다.
module.d.ts에는 다음의 설명이 있었다.
By passing a root component, IonicModule will make sure that all of the components,
directives, and providers from the framework are imported.
즉,
루트 구성 요소를 전달하면 IonicModule은 프레임워크의 모든 구성 요소, 지시문 및 공급자를 가져올 수 있습니다.
그렇기 때문에, 혹시 이것에 포함되어 있을지도?
이번은 여기까지.
Reference
이 문제에 관하여(Ionic3에 입문해 본다~그 5 Angular4 튜토리얼③~), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/tokky_se/items/e778168b4b1507f1f8e8텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)