次は、イオンのページのための私のコンテンツではないイオン-viewが知られている要素
.view-content {
background: url("background.jpg");
が、それは動作していないと私は次のエラーを取得しています:
Unhandled Promise rejection: Template parse errors:
'ion-view' is not a known element:
1. If 'ion-view' is an Angular component, then verify that it is part of this module.
2. If 'ion-view' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("
[ERROR ->]<ion-view view-title="My Page">
<ion-content>
Hello!
")
ここで間違っていることや解決方法を教えてください。 私はionicフレームワークを新しくしました。
イオン性イオン1またはイオン性イオン2を使用していますか? –
コンポーネントコードをご記入ください。 – JoeriShoeby
イオンビューは、イオン1の成分であり、イオン2の成分ではありません。 –