Now that you have an Angular project scaffold, let's integrate it with the Electron shell:
- Open the project in Visual Studio Code. You can do that from the Terminal using the following command:
code .
First, though it's not mandatory, let's change the application's title.
- Open the src/index.html file and change the content of the title tag to Angular with Electron, or any title of your choice:
<title>Angular with Electron</title>
- Now, we need to update the base application path to ./:
<base href="./" />
This makes all resources relative to the index.html file. This is what we need when we're running an Angular application from within the Electron shell.
- This results in the following ...