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

[BEX] index.html not found after quasar build #9908

Closed
2 of 14 tasks
ManUtopiK opened this issue Jul 1, 2021 · 2 comments
Closed
2 of 14 tasks

[BEX] index.html not found after quasar build #9908

ManUtopiK opened this issue Jul 1, 2021 · 2 comments

Comments

@ManUtopiK
Copy link

ManUtopiK commented Jul 1, 2021

Describe the bug
Everything works well in dev mode, but after building the extension index.html is not found.

To Reproduce
Steps to reproduce the behavior:

  1. Create a BEX app with quasar create mybex with Vuex, Axios, Vue-i18n
  2. Add BEX mode with quasar mode add bex
  3. Run dev mode with quasar dev -m bex. Works as expected.
  4. Build the BEX with quasar build -m bex
  5. Test built extension by loading unpackaged extension dist/bex/UnPackaged
  6. Extension is loaded by google Chrome
  7. Open extension with a click in the icon : ERR_FILE_NOT_FOUND
     
    Or

5. Test built extension by loading extension dist/bx/Packaged/chrome/mybex.zip with drag and drop in chrome://extensions
6. Extension is loaded by google Chrome
7. Open extension with a click in the icon : ERR_FILE_NOT_FOUND

Expected behavior
Open the page of the extension.
I also tried with popup and options. Same behavior.

After digging into dist/bex/UpnPackaged folder, I suppose the file index.html should be inside the www folder and not at the root folder. Like in src-bex/www/index.html.

Platform (please complete the following information):
Quasar Version:
@quasar/app Version: v3.0.1

Quasar mode:

  • SPA
  • SSR
  • PWA
  • Electron
  • Cordova
  • Capacitor
  • BEX

Tested on:

  • SPA
  • SSR
  • PWA
  • Electron
  • Cordova
  • Capacitor
  • BEX

OS: Mac
Node: v14.17.1
Yarn: latest
Browsers: google Chrome

@rstoenescu
Copy link
Member

Fix will be available in q/app v3.1.7

@mbilalbakhtawar
Copy link

mbilalbakhtawar commented Nov 24, 2021

Yes facing same issue. If you paste index.html inside www, it starts working fine.

image

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

No branches or pull requests

5 participants