We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I install vue-router and try in createWindow to change the loadFile like that
updateWindow.loadFile(Path.join(app.getAppPath(), 'renderer', 'index.html#splash'));
But got an error Not allowed to load local resource: file:///C:/laragon/www/temp/dist/win-unpacked/resources/app.asar/renderer/index.html%23splash
Not allowed to load local resource: file:///C:/laragon/www/temp/dist/win-unpacked/resources/app.asar/renderer/index.html%23splash
How I create Router
const router = createRouter({ history: createWebHistory(), routes, }); export default router;
Some help pls :) thx a lot
The text was updated successfully, but these errors were encountered:
This error you're getting has nothing to do with VueRouter itself.
You're trying to load in an index.html file with an anchor included. That's impossible.
You want to do something like:
updateWindow.loadFile(Path.join(app.getAppPath(), 'renderer', 'index.html'), { hash: 'splash' });
Sorry, something went wrong.
No branches or pull requests
Hi,
I install vue-router and try in createWindow to change the loadFile like that
But got an error
Not allowed to load local resource: file:///C:/laragon/www/temp/dist/win-unpacked/resources/app.asar/renderer/index.html%23splash
How I create Router
Some help pls :) thx a lot
The text was updated successfully, but these errors were encountered: