Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

9.1 How we build the html ,css and javascript.

  ads

How we build the html ,css and javascript.

ads


Can I use HTML, CSS and Javascript?

Yes. 😄

Focus on how Electron was created using HTML, CSS and Javascript.

ads

Electron
Electron used for apps that use HTML, CSS, and Javascript. Apps for Mac, Linux, etc.

Electron combines Chromium and NodeJS runtimes. This means saving HTML, CSS, and Javascript code as

ads

Electron Forge
If you're using Electron. Angular, React, Vue, Framework, or a library to manually configure this.

ads

Electron Forge makes the above.

It template with Angular, React, Vue and Frameworks to avoid setup.

And .what a lot of documentation.

ads

NodeJS before
. his
 .
The above command will be executed.

end:

cd --app-electronjs
npm
this will open window 1:

ads


folder and code
folder is .i folder.

.json
App and script dependencies. Scripts are already preconfigured and new scripts are .

config.forge has configuration for ElectronJS. make- is used to specify a make such as Mac or Linux.

ads

.json has "": "src/index.js" and src/index.js is

src/index.js
.json, index
js is a script. The script I'm running is .This is how the index.js script runs.

ads

is used for GUI. Create those pages.

A run was created in the renderer.

ads

and Renderer
consists of creating pages
 in a BrowserWindow.

ads

BrowserWindow Renderer to run.

app One Many Renderer
 .

and renderer is . This goes in.

ads

electron and renderer. You can name it.
abc
html is as above. Our code doesn't have

ads

src/index.html
index.js BrowserWindow's index.html .

In other words, index.js creates a GUI window and matches it with index.html. index.html will be executed with that renderer.

ads

code in index.js
in the code created by index.js explains what it does. index key
js:

ads


mainWindow = new BrowserWindow({
width: 800,
: ,

ads

});

// app index.html.
mainWindow.loadURL(`://${__dirname}/index.html`);
The code snippet above creates a BrowserWindow and an index.html in the BrowserWindow.

See app code used. Let's see the code snippet:

ads

app.on('', createWindow);
The app uses the cycle.

The code snippet above shows a loading window.

, the
 app was previously turned on. Get used to closure.

ads

makes a temperature converter. The
uses what you used to create a temperature converter.

ads

First Bootstrap with command:

npm bootstrap --
code into src/index.html:





ads






Temperature Converter



Celcius:




Fahrenheit:





ads

above code works:

using Celcius
The populated textbox is celciusToFahrenheit(). Created at
Fahrenheit. FahrenheitToCelcius() is entered in
 the text box.
is entered in Celsius and Fahrenheit is the temperature in Fahrenheit
is entered in Fahrenheit and Celcius is the renderer.js to do the temperature conversion in Celsius
is the
 renderer.js.

ads

Create renderer.js source. Code inside:

celciusToFahrenheit() {
celcius = .getElementById('celcius').;
Fahrenheit = (Celsius* /) + 32;
.getElementById('Fahrenheit'). = Fahrenheit;

}

ads


FahrenheitToCelcius(){
Fahrenheit = .getElementById('Fahrenheit').;
Celsius = (Fahrenheit - 32) * /
.getElementById('Celsius')
= Celsius;
}
celciusToFahrenheit() reads Celcius, converts it to Fahrenheit, and writes the temperature in Fahrenheit.

FahrenheitToCelcius() does this.

run the
command:

npm
in this window. value it.

ads


Command to packing

npm run
This command will run. Exit the output folder folder.

I do this . This creates the folder --app-electronjs-win32-x64 out folder

. In the out/--app-electronjs-win32-x64 folder, the command creates this .exe.

folder below --app-electronjs-win32-x64 appname-platform-

ads

appname = --app-electronjs
platform = win32
= x64
Run this command parameters. The platform default is .

is the platform and . Then use the following syntax:

ads

npm run -- --platform= arch=
. For Linux, use the command:

npm run -- --platform=linux --arch=x64
Create folder --app -electronjs -linux -x64 Output folder.

a make To create a make or installer for the
,
 use the command:

npm run make
This command will be executed. exit the output folder folder

ads


Run these command parameters in the out/make folder. By default, installers are built for your platform.

code
this code is on my his GitHub repository:

https://github.com/aditya-sridhar/--app-electronjs

ads

congratulations 😄
creates HTML, CSS and Javascript .

ads
was very much made by Electron and Electron-Forge.

To you, from your document.


and .I like others.

ads

Can I use HTML, CSS and Javascript?

Yes. 😄

Focus on how Electron was created using HTML, CSS and Javascript.

ads

Electron
Electron used for apps that use HTML, CSS, and Javascript. Apps for Mac, Linux, etc.

Electron combines Chromium and NodeJS runtimes. This means saving HTML, CSS, and Javascript code as

ads

Electron Forge
If you're using Electron. Angular, React, Vue, Framework, or a library to manually configure this.

ads

Electron Forge makes the above.

It template with Angular, React, Vue and Frameworks to avoid setup.

And .what a lot of documentation.

ads

NodeJS before
. his
 .
The above command will be executed.

end:

cd --app-electronjs
npm
this will open window 1:

ads


folder and code
folder is .i folder.

.json
App and script dependencies. Scripts are already preconfigured and new scripts are .

config.forge has configuration for ElectronJS. make- is used to specify a make such as Mac or Linux.

ads

.json has "": "src/index.js" and src/index.js is

src/index.js
.json, index
js is a script. The script I'm running is .This is how the index.js script runs.

ads

is used for GUI. Create those pages.

A run was created in the renderer.

ads

and Renderer
consists of creating pages
 in a BrowserWindow.

ads

BrowserWindow Renderer to run.

app One Many Renderer
 .

and renderer is . This goes in.

ads

electron and renderer. You can name it.
abc
html is as above. Our code doesn't have

ads

src/index.html
index.js BrowserWindow's index.html .

In other words, index.js creates a GUI window and matches it with index.html. index.html will be executed with that renderer.

ads

code in index.js
in the code created by index.js explains what it does. index key
js:

ads


mainWindow = new BrowserWindow({
width: 800,
: ,

ads

});

// app index.html.
mainWindow.loadURL(`://${__dirname}/index.html`);
The code snippet above creates a BrowserWindow and an index.html in the BrowserWindow.

See app code used. Let's see the code snippet:

ads

app.on('', createWindow);
The app uses the cycle.

The code snippet above shows a loading window.

, the
 app was previously turned on. Get used to closure.

ads

makes a temperature converter. The
uses what you used to create a temperature converter.

ads

First Bootstrap with command:

npm bootstrap --
code into src/index.html:





ads






Temperature Converter



Celcius:




Fahrenheit:





ads

above code works:

using Celcius
The populated textbox is celciusToFahrenheit(). Created at
Fahrenheit. FahrenheitToCelcius() is entered in
 the text box.
is entered in Celsius and Fahrenheit is the temperature in Fahrenheit
is entered in Fahrenheit and Celcius is the renderer.js to do the temperature conversion in Celsius
is the
 renderer.js.

ads

Create renderer.js source. Code inside:

celciusToFahrenheit() {
celcius = .getElementById('celcius').;
Fahrenheit = (Celsius* /) + 32;
.getElementById('Fahrenheit'). = Fahrenheit;

}

ads


FahrenheitToCelcius(){
Fahrenheit = .getElementById('Fahrenheit').;
Celsius = (Fahrenheit - 32) * /
.getElementById('Celsius')
= Celsius;
}
celciusToFahrenheit() reads Celcius, converts it to Fahrenheit, and writes the temperature in Fahrenheit.

FahrenheitToCelcius() does this.

run the
command:

npm
in this window. value it.

ads


Command to packing

npm run
This command will run. Exit the output folder folder.

I do this . This creates the folder --app-electronjs-win32-x64 out folder

. In the out/--app-electronjs-win32-x64 folder, the command creates this .exe.

folder below --app-electronjs-win32-x64 appname-platform-

ads

appname = --app-electronjs
platform = win32
= x64
Run this command parameters. The platform default is .

is the platform and . Then use the following syntax:

ads

npm run -- --platform= arch=
. For Linux, use the command:

npm run -- --platform=linux --arch=x64
Create folder --app -electronjs -linux -x64 Output folder.

a make To create a make or installer for the
,
 use the command:

npm run make
This command will be executed. exit the output folder folder

ads


Run these command parameters in the out/make folder. By default, installers are built for your platform.

code
this code is on my his GitHub repository:

https://github.com/aditya-sridhar/--app-electronjs

ads

congratulations 😄
creates HTML, CSS and Javascript .

ads
was very much made by Electron and Electron-Forge.
To you, from your document.


and .I like others.

ads

Post a Comment

0 Comments