Verifying the Electron Shell

Now, we're going to verify that the application is ready for packaging. Let's get started:

  1. Switch to index.html and ensure that the base path has a proper value, as shown in the following code:
      <base href="./" />
  1. Run npm run serve. Wait until the web server starts and then run npm start in a separate Terminal or Command Prompt window.
  1. Test the Login dialog with your credentials. Make sure that you can still see the list of groups and that you can post messages:

Congratulations! You have created a basic chat application that you can now expand and improve.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.90.141