0.2.5 • Published 5 years ago
@determapp/editor-http-client v0.2.5
DetermApp-Editor-HTTP-Client
This is the DetermApp-Editor with an integration which uses socket.io for actions and plain HTTP for image transfers.
It is not usable as it is. It is used by the @determapp/editor-http-server
.
This package contains the editor prebuilt in an .tar.gz archive.
You can get its location by require('@determapp/editor-http-client').editorPackagePath
.
Bundling
When you use this package and want to bundle your application (e.g. with Webpack):
- configure
__dirname
to match the path of the running script - copy
determapp-editor.tar.gz
to the directory of the output directory.- you can get the path of the file with
require('@determapp/editor-http-client').editorPackagePath
- you can get the path of the file with
Commands
npm run build
- builds the editor
- creates an archive which contains it
- is executed as
prepare
hook
npm run serve
- builds the editor in memory
- opens the editor build in the Browser
- applies code changes automatically