You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webpack aliases work properly for import statements in <script></script>, however not with <style></style> or <template></template> sections of Component.vue. It would be great to add this feature, so Component.vue works fine even if its location changes. That would be super cool. Btw I love Vue, thanks a lot for a great work!
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.
What problem does this feature solve?
Webpack aliases work properly for import statements in
<script></script>
, however not with<style></style>
or<template></template>
sections of Component.vue. It would be great to add this feature, so Component.vue works fine even if its location changes. That would be super cool. Btw I love Vue, thanks a lot for a great work!What does the proposed API look like?
<style> .jumbotron { background: url('@/assets/images/welcome.jpg') center / cover; } </style>
<template> <img src="@/assets/images/search.svg" alt="search button"> </template>
+ for other cases (might not be listed)
The text was updated successfully, but these errors were encountered: