Skip to content

vue build sample in documentation does not work because of absolute paths #1948

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

Closed
rowild opened this issue Jul 25, 2018 · 1 comment
Closed

Comments

@rowild
Copy link
Contributor

rowild commented Jul 25, 2018

Version

3.0.0-rc.5

Reproduction link

https://codepen.io/rowild/pen/VBzvzr?editors=1010

Steps to reproduce

  1. Create a folder on desktop
  2. Create App.vue with minimal code as in documentation
  3. "vue build"

What is expected?

The index.html dist folder can be clicked and the text of App.vue will be shown.

What is actually happening?

White screen. The linked Javascript starts with "/", which is an absolute path on a operation system. If the paths are prepended with a dot (./js/...) everything works fine.


No example possible, because this report needs "vue build" on desktop. But the link to the "example" again describes the problem. Please be fair and have a look into it instead of immediately deleting the issue, because the behaviour cannot be rebuild on any of those coding platforms. Thank you!

And, IMO, if this is NOT considered an error, the docu should at least mention the "behaviour".
Thank you!

@Akryum
Copy link
Member

Akryum commented Jul 25, 2018

Duplicate of #1572

@Akryum Akryum marked this as a duplicate of #1572 Jul 25, 2018
@Akryum Akryum closed this as completed Jul 25, 2018
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