tum-esi / wade

WoT API Development Environment built on top of thingweb.node-wot

Home Page:https://www.ei.tum.de/en/esi/home/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[development] Add Vue CLI UI

miguelrk opened this issue · comments

Vue CLI provides a built-in UI to manage the application (plugins, dependencies, devDependencies,etc). It is served locally and is very useful for development.

To be able to use it, a user must:

  • Have Vue CLI globally installed: npm install -g @vue/cli

I therefore propose adding the following npm script to package.json:

scripts: {
// ...
"ui": "vue ui"
}

This ways, users can run the corresponding npm script (package.json) during development: npm run ui.

vue-cli-plugins-api

I would support this. Just that we should not recommend installing it from npm but through your package manager and using the npm as a fallback. This would avoid dependency clashes.

Understood, it makes sense to not assume npm... will proceed to create a PR.

It is quite nice, available in master