Skip to content

Commit 97e2c7b

Browse files
author
Johnatan Dias
committed
Initial commit
0 parents  commit 97e2c7b

22 files changed

Lines changed: 5962 additions & 0 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.cache
2+
node_modules
3+
build

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"*.webapp": "json",
4+
},
5+
}

.vscode/tasks.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Developer mode (Watch)",
6+
"type": "npm",
7+
"script": "start",
8+
"problemMatcher": [],
9+
"presentation": {
10+
"reveal": "silent",
11+
"panel": "dedicated"
12+
},
13+
"group": {
14+
"kind": "build",
15+
"isDefault": true
16+
}
17+
},
18+
{
19+
"label": "Build app",
20+
"type": "npm",
21+
"script": "build",
22+
"problemMatcher": [],
23+
"presentation": {
24+
"reveal": "silent",
25+
"panel": "dedicated"
26+
}
27+
},
28+
{
29+
"label": "Install app",
30+
"type": "npm",
31+
"script": "app:install",
32+
"problemMatcher": [],
33+
"presentation": {
34+
"reveal": "silent",
35+
"panel": "dedicated"
36+
}
37+
},
38+
{
39+
"label": "Uninstall app",
40+
"type": "npm",
41+
"script": "app:uninstall",
42+
"problemMatcher": [],
43+
"presentation": {
44+
"reveal": "silent",
45+
"panel": "dedicated"
46+
}
47+
},
48+
{
49+
"label": "Update app",
50+
"type": "npm",
51+
"script": "app:update",
52+
"problemMatcher": [],
53+
"presentation": {
54+
"reveal": "silent",
55+
"panel": "dedicated"
56+
}
57+
},
58+
{
59+
"label": "Start app",
60+
"type": "npm",
61+
"script": "app:start",
62+
"problemMatcher": [],
63+
"presentation": {
64+
"reveal": "silent",
65+
"panel": "dedicated"
66+
}
67+
},
68+
{
69+
"label": "Stop app",
70+
"type": "npm",
71+
"script": "app:stop",
72+
"problemMatcher": [],
73+
"presentation": {
74+
"reveal": "silent",
75+
"panel": "dedicated"
76+
}
77+
}
78+
]
79+
}

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Sample Vanilla app for KaiOS
2+
3+
Simple example of a to-do list, for more information see [KaiOS Developer Portal](https://developer.kaiostech.com/getting-started/build-your-first-app/sample-code#vanilla)
4+
5+
![](./docs/to-do-on-input.png)
6+
![](./docs/to-do.png)
7+
8+
In portrait devices
9+
10+
![](./docs/to-do-portrait.gif)
11+
12+
In landscape devices
13+
14+
![](./docs/to-do-landscape.gif)
15+
16+
## Start
17+
18+
```console
19+
npm run start
20+
# or
21+
yarn start
22+
```
23+
24+
## Build app
25+
26+
```console
27+
npm run build
28+
# or
29+
yarn build
30+
```
31+
32+
## Send the app to a KaiOS device
33+
34+
```console
35+
npm run app:install
36+
# or
37+
yarn app:install
38+
```

assets/icons/kaios_112.png

4.54 KB
Loading

assets/icons/kaios_56.png

2.07 KB
Loading

docs/to-do-landscape.gif

31.4 KB
Loading

docs/to-do-on-input.png

12.5 KB
Loading

docs/to-do-portrait.gif

39.4 KB
Loading

docs/to-do.png

12.7 KB
Loading

0 commit comments

Comments
 (0)