Incorrect path of CSS and JS files
Unanswered
Masai Lion posted this in #help-forum
Masai LionOP
the files are at "file:///D:/Github/Elect/out"
but it is looking at "files:///D:/_next
Config file :
Electron :
but , all the css and js files are missing
also, the homepage is set to root
My English is kinda bad so, ignore it
but it is looking at "files:///D:/_next
Config file :
/** @type {import('next').NextConfig} */
const nextConfig = {
output : 'export'
};
export default nextConfig;Electron :
win.setMenuBarVisibility(false);
// win.loadURL('http://localhost:3000');
win.loadFile(path.join(__dirname, "out/index.html"));but , all the css and js files are missing
also, the homepage is set to root
"homepage": ".", i also tried to build with "homepage": "/"My English is kinda bad so, ignore it