Я пытаюсь создать веб-приложение с помощью Ioni c 5 Я пробовал:
ionic cordova build browser --prod --release
и
ionic serve --prod
оба не прошли и имеют ошибку, например:
1. If 'ion-header' is an Angular component, then verify that it is part of this module.
2. If 'ion-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
1. If 'ion-icon' is an Angular component, then verify that it is part of this module.
2. If 'ion-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the'@NgModule.schemas' of this component to suppress this message.
'ion-label' is
not a known element:
1. If 'ion-label' is an Angular component, then verify that it is part of this module.
2. If 'ion-label' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Кажется, что при построении производства он не реконизирует компонент ioni c.
Я в порядке, когда использую следующую команду:
ionic serve
, так что как бороться с Это? Спасибо