1.1.1 • Published 2 years ago

@gudhub/gh-element-cli v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago