Created
July 13, 2021 16:05
-
-
Save haydenbbickerton/21ed306de8bfded6d09b0e1a5709cb99 to your computer and use it in GitHub Desktop.
Legacy Styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="ur-legacy-styles"> | |
<slot></slot> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'ur-legacy-styles', | |
}; | |
</script> | |
<style scoped lang="scss"> | |
.ur-legacy-styles /deep/ { | |
@import "./legacy-styles.scss"; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If paired with a custom element solution like vuidget, you could conceivably have something like:
with a single, async and lazy loadable script tag per style-set, making them compatible with all browsers/platforms back to IE8.