topic description
when I was compiling the css of the order master, I encountered that the picture could not come out on the browser after I wrote it.
sources of topics and their own ideas
I wonder if I made a mistake in compiling HTML5
related codes
/ / Please paste the code text below (do not replace the code with pictures)
this is its HTML:
const {app, BrowserWindow} = require("electron")
const path = require("path")
const url = require("url")
let win
function createWindow () {
win = new BrowserWindow({width: 800, height: 600})
win.loadURL(url.format({
pathname: path.join(__dirname, "index.html"),
protocol: "file:",
slashes: true
}))
win.on("closed", () => {
win = null
})
}
app.on("ready", createWindow)
app.on("window-all-closed", () => {
if (process.platform !== "darwin") {
app.quit()
}
})
app.on("activate", () => {
if (win === null) {
createWindow()
}
})
what result do you expect? What is the error message actually seen?
what I expect is that the result is to see the css pictures I made up, but actually no pictures come out