Skip to content

Opening index.html works with file:// #522

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

Conversation

guilhermefsreis
Copy link

Open index.html file without import errors (css and js) and without needing a server

@asselin
Copy link

asselin commented Feb 18, 2017

Relevant to #200

@aspectis
Copy link
Contributor

aspectis commented Mar 23, 2017

Unfortunately, this breaks relative CSS imports - an issue with file-loader as well as url-loader which seems to be unresolved.

@LinusBorg
Copy link
Contributor

Sorry, will have to close this PR.

For now, the absolute path will stay, because relative paths cause vArious problems with vue-router (mostly in history mode) and lazy loading.

We should rather introduce documentation that explains when to use absolute or relative paths and what to watch out for.

@LinusBorg LinusBorg closed this Apr 7, 2017
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

Successfully merging this pull request may close these issues.

4 participants