Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com> Co-authored-by: Pooya Parsa <pi0@users.noreply.github.com>
- Loading branch information
1 parent
77d912b
commit 4b0dcb4
Showing
7 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
"unbuild" | ||
], | ||
"packageMode": { | ||
"vue": "minor" | ||
"vue": "minor", | ||
"nuxt": "minor" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
shamefully-hoist=true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export default { | ||
buildModules: [ | ||
'@unocss/nuxt', | ||
], | ||
unocss: { | ||
attributify: true, | ||
icons: true, | ||
components: false, | ||
shortcuts: [ | ||
['btn', 'px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'], | ||
], | ||
}, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"build": "nuxt build", | ||
"dev": "nuxt dev", | ||
"start": "nuxt start" | ||
}, | ||
"devDependencies": { | ||
"@iconify-json/carbon": "^1.1.9", | ||
"@unocss/core": "link:../../packages/core", | ||
"@unocss/nuxt": "link:../../packages/nuxt", | ||
"@unocss/reset": "link:../../packages/reset", | ||
"nuxt": "^2.15.8", | ||
"unocss": "link:../../packages/unocss" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<template> | ||
<main class="px-12 py-20 text-center"> | ||
<span text="blue 5xl hover:red" cursor="default">Hello Nuxt 2</span> | ||
<br> | ||
<div i-carbon-car text-4xl inline-block /> | ||
<br> | ||
<button btn> | ||
Button | ||
</button> | ||
</main> | ||
</template> | ||
|
||
<style> | ||
@import '@unocss/reset/tailwind.css'; | ||
</style> |
Empty file.
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