Skip to content
New issue

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

Popup page shows Options page #9

Closed
baramofme opened this issue May 11, 2023 · 1 comment
Closed

Popup page shows Options page #9

baramofme opened this issue May 11, 2023 · 1 comment

Comments

@baramofme
Copy link
Contributor

baramofme commented May 11, 2023

I build source and load it on chrome.

And then I found Popup shows Options page.

Options show it self That's fine.

options.html

    <script type="module" crossorigin src="..\..\assets/index.html-74b33acf.js"></script>
    <link rel="modulepreload" crossorigin href="..\..\assets/base-176afb78.js">

popup.html

    <script type="module" crossorigin src="..\..\assets/index.html-02ab7c9c.js"></script>
    <link rel="modulepreload" crossorigin href="..\..\assets/base-176afb78.js">

common ref is base-176afb78.js. so I investigated.

base-176afb78.js


// It's options.html content
// and lu render options.html contents
function iu(e, t) {
    return so(), oo(xe, null, [hs(" 옵션 페이지 "), ou], 64)
}
const lu = Co(su, [["render", iu], ["__scopeId", "data-v-a4d9e10f"]]);


// It's popup.html content
// du is render popup.html content
function au(e, t) {
    return so(), oo(xe, null, [uu, hs(" 팝업 페이지 "), fu], 64)
}
const du = Co(cu, [["render", au], ["__scopeId", "data-v-15bb346d"]]),


// and root path mapping only options page component (lu).
bu = [{path: "/", component: lu, 
children: [{name: "index", path: "", component: du, props: !0}], props: !0}];
export {Co as _, _u as a, mu as b, pu as c, bu as d, gu as e, so as o, hu as r};

I don't know why, but router info and each app.vue has merged.
so that, when popupt.html trying to access root path. router returns only option pages component.

@mubaidr
Copy link
Owner

mubaidr commented May 11, 2023

Weird, I will look into this issue.

Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants