feat: add ArkTS shell code skeleton placeholders
This commit is contained in:
1 parent
339756c1aa
commit
f8f18f185e
32 files changed
+561
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import { AppCatalogStore } from '../store/AppCatalogStore'
|
||||
|
||||
@Entry
|
||||
@Component
|
||||
struct AppListPage {
|
||||
private store: AppCatalogStore = new AppCatalogStore()
|
||||
|
||||
aboutToAppear(): void {
|
||||
this.store.loadApps()
|
||||
}
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
Text('AppListPage')
|
||||
Text(`apps: ${this.store.items.length}`)
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user