1.5.1 • Published 5 years ago
http-frontend-client v1.5.1
http-client
The example of how to build the Theia-based applications with the http-client.
Getting started
Install nvm.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bashInstall npm and node.
nvm install 10
nvm use 10Install yarn.
npm install -g yarnRunning the browser example
yarn rebuild:browser
cd browser-app
yarn startOpen http://localhost:3000 in the browser.
Running the Electron example
yarn rebuild:electron
cd electron-app
yarn startDeveloping with the browser example
Start watching of http-client.
cd http-client
yarn watchStart watching of the browser example.
yarn rebuild:browser
cd browser-app
yarn watchLaunch Start Browser Backend configuration from VS code.
Open http://localhost:3000 in the browser.
Developing with the Electron example
Start watching of http-client.
cd http-client
yarn watchStart watching of the electron example.
yarn rebuild:electron
cd electron-app
yarn watchLaunch Start Electron Backend configuration from VS code.
Publishing http-client
Create a npm user and login to the npm registry, more on npm publishing.
npm loginPublish packages with lerna to update versions properly across local packages, more on publishing with lerna.
npx lerna publish