Ionic 我怎么知道离子,Angular 等是否正确安装,基本的工作,如插补不工作,

v64noz0r  于 2022-12-08  发布在  Ionic
关注(0)|答案(1)|浏览(163)
<button (click)="onChangeText()">nothing</button>
    <ionic-button>see</ionic-button>

第一行是按钮上的一个事件,它不工作。第二行只是按钮也不工作

oknwwptz

oknwwptz1#

尝试查找“package.json”文件并查找**"@ionic/angular”:“^6.1.9”**或依赖项中的其他版本和框架:

"dependencies": {
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/forms": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@angular/router": "^14.0.0",
"@capacitor/app": "4.0.1",
"@capacitor/core": "4.0.1",
"@capacitor/haptics": "4.0.1",
"@capacitor/keyboard": "4.0.1",
"@capacitor/status-bar": "4.0.1",
"@ionic/angular": "^6.1.9",
"rxjs": "~6.6.0",
"tslib": "^2.2.0",
"zone.js": "~0.11.4"

},

相关问题