Skip to content
This repository was archived by the owner on Feb 16, 2020. It is now read-only.

Commit 9046e72

Browse files
committed
update vue version & rename jade
1 parent 93ceb09 commit 9046e72

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/internals/gekko_ui.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
When you launch Gekko UI, you start a basic nodejs webserver with 3 components:
44

5-
- It will serve frontend (HTML/CSS/JS) files for frontend written as a [vuejs app](https://vuejs.org/) (v2).
5+
- It will serve frontend (HTML/CSS/JS) files for frontend written as a [vuejs app](https://vuejs.org/) (v2.5.16).
66
- It will will handle API requests as [koa](http://koajs.com/) (v1) routes.
77
- It will start a websocket server used to broadcast messages in realtime (used for long lived processes Importing and Live Gekkos for example).
88

@@ -25,8 +25,9 @@ The frontend is setup as a very basic vue app. Additionally the following librar
2525
The vue app itself uses the following libraries:
2626

2727
- [marked](https://github.com/chjj/marked)
28-
- [jade](https://github.com/pugjs) (all html is either written in jade of markdown)
28+
- [pug](https://github.com/pugjs) (all html is either written in pug of markdown)
2929
- [vue-router](https://github.com/vuejs/vue-router)
30+
- [vuex](https://github.com/vuejs/vuex)
3031
- [superagent](https://github.com/visionmedia/superagent) (cross browser ajax)
3132

3233
### Developing for the Gekko UI frontend
@@ -45,7 +46,7 @@ After this you can launch a hot reload version of the app which will automatical
4546

4647
# path to vue app
4748
cd vue
48-
npm run dev
49+
npm run serve
4950

5051
Gekko UI is now served from port 8080, the webpack dev server will compile the vue app (in memory) and intercept all calls to the app itself (`/dist/build.js`) and serve the in memory app. It is important to note that this UI still talks to the API served from the `node server` commmand (on default http://localhost:3000/api)
5152

0 commit comments

Comments
 (0)