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
308308
309309Install dependencies:
310310
311- ```
311+ ``` bash
312+ nvm use
312313npm install
313314```
314315
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+ ```
316322
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 >
317334```
335+
336+ Run dev server:
337+
338+ ``` bash
339+ # This will serve files in the `dist` directory
318340npm run dev
319341```
320342
343+ Navigate to http://127.0.0.1:8080 and execute JavaScript commands through the browser Dev Console.
344+
321345### Build
322346
323347```
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