We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have just started learning VueJS. In the https://vuejs.org/v2/guide/single-file-components.html#What-About-Separation-of-Concerns (https://github.com/vuejs/vuejs.org/blame/master/src/v2/guide/single-file-components.md#L50) there is code <style src="./my-component.css"></style>. Style tag doesn't have the src attribute. Does VueJS support this markup (linking CSS file with src attribute in style tag/element)? I can't find any reference in documentation regarding support of this markup, nor it seems working with Vue 2.x. Shouldn't it be as following?:
<style src="./my-component.css"></style>
src
style
<style> @import('./my-component.css'); </style>
Or <link href="./my-component.css" rel="stylesheet">?
<link href="./my-component.css" rel="stylesheet">
BTW, the title also seems grammatically incorrect. Shouldn't it be "Concern of Separation" instead of "Separation of Concern"?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have just started learning VueJS. In the https://vuejs.org/v2/guide/single-file-components.html#What-About-Separation-of-Concerns (https://github.com/vuejs/vuejs.org/blame/master/src/v2/guide/single-file-components.md#L50) there is code
<style src="./my-component.css"></style>
. Style tag doesn't have thesrc
attribute. Does VueJS support this markup (linking CSS file withsrc
attribute instyle
tag/element)? I can't find any reference in documentation regarding support of this markup, nor it seems working with Vue 2.x. Shouldn't it be as following?:Or
<link href="./my-component.css" rel="stylesheet">
?BTW, the title also seems grammatically incorrect. Shouldn't it be "Concern of Separation" instead of "Separation of Concern"?
The text was updated successfully, but these errors were encountered: