Skip to Content
Practical Internet of Things with JavaScript
book

Practical Internet of Things with JavaScript

by Arvind Ravulavaru
December 2017
Intermediate to advanced
296 pages
5h 56m
English
Packt Publishing
Content preview from Practical Internet of Things with JavaScript

Setting up the desktop app

In the last section, we developed the template and interface for the web app. In this section, we are going to build the same thing and dump it inside the desktop app.

To get started, head back to the terminal/prompt of the web-app folder, and run the following:

ng build --env=prod

This will create a new folder inside the web-app folder named dist. The contents of the dist folder should consist of:

.├── favicon.ico├── index.html├── inline.bundle.js├── inline.bundle.js.map├── main.bundle.js├── main.bundle.js.map├── polyfills.bundle.js├── polyfills.bundle.js.map├── scripts.bundle.js├── scripts.bundle.js.map├── styles.bundle.js├── styles.bundle.js.map├── vendor.bundle.js└── vendor.bundle.js.map

All the code we have ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driving JavaScript Applications

Test-Driving JavaScript Applications

Venkat Subramaniam
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck

Publisher Resources

ISBN: 9781788292948Supplemental Content