1.1.1 • Published 7 months ago

@gudhub/gh-element-cli v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

GhElement CLI

NB: This package need to be installed globally

npm i @gudhub/gh-element-cli -g

Development

After installing the package, go to empty folder, where you want to create new gh-element, and run:

create-gh-element

This will create template for developing of gh-element for you and install all dependencies.

Then you need only run:

npm run dev

This will start webpack bundling and start local server to serve builded files on 3000 port.

Now you can go to @gudhub/core and add new module to modules list.

Main JavaScript file will be located here:

http://localhost:3000/main.js

Main css file will be located here:

http://localhost:3000/style.css

Production

To properly build your gh-element on production, you need to run:

npm run build
1.1.1

7 months ago

1.1.0

10 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago