Created with svelte.technology/repl
-
-
Save meydjer/817afc7be8330eda3ce45a1be026927c to your computer and use it in GitHub Desktop.
template-webpack CSS issue
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
<div> | |
<h1>Hello {name}!</h1> | |
<Foo/> | |
</div> | |
<script> | |
export default { | |
components: { | |
Foo: "./Foo.html" | |
} | |
}; | |
</script> | |
<style> | |
div { | |
border: 4px solid yellow; | |
margin: 1em; | |
} | |
h1 { | |
color: purple; | |
} | |
</style> |
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
<div> | |
<p>Bar</p> | |
</div> | |
<style> | |
div { | |
border: 4px solid red; | |
margin: 1em; | |
} | |
</style> |
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
{ | |
"name": "world" | |
} |
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
<div> | |
<p>Foo</p> | |
<Bar/> | |
</div> | |
<script> | |
export default { | |
components: { | |
Bar: "./Bar.html" | |
} | |
}; | |
</script> | |
<style> | |
div { | |
border: 4px solid orange; | |
margin: 1em; | |
} | |
</style> |
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
{ | |
"svelte": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment