0👍
You should notice, that HTML Head should not be rendered in a component.
Since you have you app somewhere in the HTML Body
<div id="app"></div>
And some component cannot render the other parts of HTML.
If can work only if you have main App.vue component, which renders the whole HTML page.
App.vue
<template>
<html lang="en">
<head>
<link rel="stylesheet" href="css/tailwind/tailwind.min.css" />
....
</head>
</html>
</template>
- [Vuejs]-Need to add if/then to a item created in a div
- [Vuejs]-Why is my function not working when called from a vue.js component-generated element?
Source:stackexchange.com