Fabio Manganiello
2778357a9e
The performance of the page is heavily degraded by components loaded dynamically via defineAsyncComponent that recursively carry behind the whole Vue machinery. By wrapping defineAsyncComponent calls in shallowRef we make sure that we only wire the root level of the newly created dynamic component. |
||
---|---|---|
.. | ||
dist | ||
public | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
README.md | ||
babel.config.js | ||
jsconfig.json | ||
package-lock.json | ||
package.json | ||
vue.config.js |
README.md
Platypush web app
The UI for Platypush is built with Vue 3. The production-ready files are distributed with the package under platypush/backend/http/dist
. If you want to change/debug/redistribute some parts of the UI you'll need npm
installed. The directory of this file is the root of the web app project and all the following commands should be typed from here.
Project setup
npm install
Compilation and hot-reload for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint