更新时间:2021-07-04 03:24:42
我遵循了在离子框架论坛上发布的这些说明.
I followed these instructions which were posted on ionic framework forum.
步骤:
使用ionic serve
为您的项目提供服务,然后只需更改任何.ts文件并保存(ctrl+s
),它将自动再次构建并为应用&错误将得到解决,希望:).
Steps:
serve your project with ionic serve
and then just change any .ts file and save it (ctrl+s
) and it will automatically build again and serve the app & error will be resolved, hopefully :).
注意:您每次必须在初始离子发球时都要这样做
Note: you have to do this everytime on the initial ionic serve
查看完整答案 查看全文