Move styles into a separate stylesheet
This commit is contained in:
parent
b292a34b81
commit
6acd746ce9
|
@ -51,28 +51,4 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style src="./assets/css/tailwind.css"></style>
|
||||||
@tailwind base;
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2 {
|
|
||||||
@apply font-semibold
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
textarea {
|
|
||||||
@apply w-full border border-gray-400 p-2 mt-1
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=submit] {
|
|
||||||
@apply w-full;
|
|
||||||
|
|
||||||
@screen sm {
|
|
||||||
@apply w-auto
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@tailwind components;
|
|
||||||
|
|
||||||
@tailwind utilities;
|
|
||||||
</style>
|
|
||||||
|
|
23
vuejs/src/assets/css/tailwind.css
Normal file
23
vuejs/src/assets/css/tailwind.css
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
@tailwind base;
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2 {
|
||||||
|
@apply font-semibold
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
textarea {
|
||||||
|
@apply w-full border border-gray-400 p-2 mt-1
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type=submit] {
|
||||||
|
@apply w-full;
|
||||||
|
|
||||||
|
@screen sm {
|
||||||
|
@apply w-auto
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@tailwind components;
|
||||||
|
|
||||||
|
@tailwind utilities;
|
Loading…
Reference in a new issue