File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -308,16 +308,40 @@ nvm install
308
308
309
309
Install dependencies:
310
310
311
- ```
311
+ ``` bash
312
+ nvm use
312
313
npm install
313
314
```
314
315
315
- Run dev server:
316
+ Build artifacts in ` dist ` directory:
317
+
318
+ ``` bash
319
+ # This will create files in the `dist` directory
320
+ npm run build
321
+ ```
316
322
323
+ Add an ` index.html ` file to your ` dist ` directory
324
+
325
+ ``` html
326
+ <html >
327
+ <head >
328
+ <script src =" elastic_app_search.umd.js" ></script >
329
+ </head >
330
+ <body >
331
+
332
+ </body >
333
+ </html >
317
334
```
335
+
336
+ Run dev server:
337
+
338
+ ``` bash
339
+ # This will serve files in the `dist` directory
318
340
npm run dev
319
341
```
320
342
343
+ Navigate to http://127.0.0.1:8080 and execute JavaScript commands through the browser Dev Console.
344
+
321
345
### Build
322
346
323
347
```
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ trailingComma : "none" ,
3
+ arrowParens : "avoid"
4
+ } ;
You can’t perform that action at this time.
0 commit comments