mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
Updated readme
This commit is contained in:
parent
dd38f842ae
commit
5a8e6b0b32
16
README.md
16
README.md
@ -66,18 +66,16 @@ Run
|
||||
npm run build
|
||||
```
|
||||
|
||||
Then, it will generate 5 files at `lib/@openglobus/`:
|
||||
Then, it will generate files at `lib/`:
|
||||
|
||||
- og.umd.js
|
||||
- og.umd.js.map
|
||||
- og.esm.js
|
||||
- og.esm.js.map
|
||||
- og.es.js
|
||||
- og.es.js.map
|
||||
- og.css
|
||||
- ./res/...
|
||||
|
||||
### Run examples
|
||||
|
||||
First, it starts by watching sources and building into ./lib folder esm module:
|
||||
First, it starts by watching sources and building into ./lib folder es module:
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
@ -89,6 +87,12 @@ Second, runs local server, then you can browse 127.0.0.1:8080:
|
||||
npm run serve
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
npm run dev_serve
|
||||
```
|
||||
|
||||
Third, try an example from the sandbox:
|
||||
|
||||
```sh
|
||||
|
||||
@ -105,12 +105,10 @@ yarn
|
||||
npm run build
|
||||
```
|
||||
|
||||
随后会在 `lib/@openglobus/` 目录下生成下列 5 个文件:
|
||||
随后会在 `lib/` 目录下生成下列 5 个文件:
|
||||
|
||||
- og.umd.js
|
||||
- og.umd.js.map
|
||||
- og.esm.js
|
||||
- og.esm.js.map
|
||||
- og.es.js
|
||||
- og.es.js.map
|
||||
- og.css
|
||||
- ./res/...
|
||||
|
||||
|
||||
@ -108,12 +108,10 @@ Run
|
||||
npm run build
|
||||
```
|
||||
|
||||
Then, it will generate 5 files at `lib/@openglobus/`:
|
||||
Then, it will generate files at `lib/`:
|
||||
|
||||
- og.umd.js
|
||||
- og.umd.js.map
|
||||
- og.esm.js
|
||||
- og.esm.js.map
|
||||
- og.es.js
|
||||
- og.es.js.map
|
||||
- og.css
|
||||
- ./res/...
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user