ouliuquan / my-extension

example of `yo theia-extension` Hello World

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-hello-world01

The example of how to build the Theia-based applications with the my-hello-world01.

Getting started

Please install all necessary prerequisites.

Running the browser example

yarn start:browser

or:

yarn rebuild:browser
cd browser-app
yarn start

or: launch Start Browser Backend configuration from VS code.

Open http://localhost:3000 in the browser.

Running the Electron example

yarn start:electron

or:

yarn rebuild:electron
cd electron-app
yarn start

or: launch Start Electron Backend configuration from VS code.

Developing with the browser example

Start watching all packages, including browser-app, of your application with

yarn watch

or watch only specific packages with

cd my-hello-world01
yarn watch

and the browser example.

cd browser-app
yarn watch

Run the example as described above

Developing with the Electron example

Start watching all packages, including electron-app, of your application with

yarn watch

or watch only specific packages with

cd my-hello-world01
yarn watch

and the Electron example.

cd electron-app
yarn watch

Run the example as described above

Publishing my-hello-world01

Create a npm user and login to the npm registry, more on npm publishing.

npm login

Publish packages with lerna to update versions properly across local packages, more on publishing with lerna.

npx lerna publish

About

example of `yo theia-extension` Hello World


Languages

Language:TypeScript 100.0%