Ionic3 编程-应用启动进入引导页

新建引导页面

ionic g page welcome

导入组件

修改模版文件:welcome.html

修改样式文件:welcome.scss

安装相关插件:

数据库使用SQLite:ionic cordova plugin add cordova-sqlite-storage

安装相关包:npm install --save @ionic/storage

编写相关代码:

 最终效果:

 

参考:

 https://ionicframework.com/docs/storage/

原文地址:https://www.cnblogs.com/daryl/p/7092973.html