Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
允许在Electron中使用需要外部文件的HTML文件_Html_Electron - Fatal编程技术网

允许在Electron中使用需要外部文件的HTML文件

允许在Electron中使用需要外部文件的HTML文件,html,electron,Html,Electron,在electron中运行时,如何使此HTML文件使用css文件 <!DOCTYPE html> <html> <head> <title>First electron html app</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head&

在electron中运行时,如何使此HTML文件使用css文件

<!DOCTYPE html>
<html>
    <head>
        <title>First electron html app</title>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="styles.css">
    </head>
</html>

第一个电子html应用程序
试试这个: