- Install node
- globally install vue-cli 3
npm install -g @vue/cli
If you're using yarn instead of npm, you need to know how they differ regarding dependency installation and script execution.
- install project dependencies
npm install
- build project at least once (
npm run build
ornpm run dev
- Load
/out
as unpacked extension in Overwolf
npm run dev
NOTES:
- If changes are made to
vue.config.js
,/public
or/windows
, stop and rerunnpm run dev
(TODO: add better way to recompile only the html files and manifest) - If manifest.json changed, disable and reenable app in Overwolf dev-tools
npm run vue-devtools
NOTES:
In the current iteration (0.2.0), only one window is supported.
The latest window, that calls devtools.connect
will be connected by vue-devtools.
A way to get around this is one of the following:
- start multiple dev-tools servers on different ports and connect to them in each window
- hack dev-tools to support multiple connections on the same server :D
Because in this demo the store only really lives on the main-window, time-travel and generally vuex debugging only works for that window.
npm run build
npm run serve:storybook
npm run build:storybook
This will create the folder /storybook-static
, which can be deployed to a webserver for external access
npm run lint
npm run test
npm run test:unit