generated from unplugin/unplugin-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
211 changed files
with
13,535 additions
and
8,109 deletions.
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 |
---|---|---|
@@ -1,12 +1,52 @@ | ||
{ | ||
"extends": "@antfu", | ||
"extends": ["@antfu"], | ||
"rules": { | ||
"no-restricted-imports": [ | ||
"error", | ||
{ | ||
"paths": ["unocss"] | ||
} | ||
], | ||
"yml/no-empty-document": "off", | ||
"react/no-unknown-property": "off", | ||
"curly": ["error", "multi-line", "consistent"], | ||
"quotes": ["error", "single"], | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"antfu/generic-spacing": "off", | ||
"max-statements-per-line": "off", | ||
"@typescript-eslint/prefer-ts-expect-error": "off", | ||
"no-console":"off" | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"playground/**/*.*", | ||
"examples/**/*.*", | ||
"test/fixtures/**/*.*" | ||
], | ||
"rules": { | ||
"no-restricted-imports": "off" | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"packages/vscode/**/*.*" | ||
], | ||
"rules": { | ||
"unicorn/prefer-node-protocol": "off" | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"**/*.md/*.*" | ||
], | ||
"rules": { | ||
"no-restricted-imports": "off", | ||
"no-restricted-syntax": "off", | ||
"no-labels": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/no-var-requires": "off" | ||
} | ||
} | ||
] | ||
} |
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 |
---|---|---|
|
@@ -70,6 +70,7 @@ typings/ | |
|
||
# Nuxt generate | ||
dist | ||
packages/*/dist | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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,14 @@ | ||
import fs from 'node:fs' | ||
|
||
updateDependencyLinksToLatest('./package.json') | ||
|
||
function updateDependencyLinksToLatest(filename) { | ||
try { | ||
const contents = fs.readFileSync(filename, 'utf-8') | ||
const updatedContent = contents.replace(/"link:...+"/gi, '"latest"') | ||
fs.writeFileSync(filename, updatedContent) | ||
} | ||
catch (err) { | ||
console.error(err) | ||
} | ||
} |
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="py-20 px-12 text-center"> | ||
<span text="blue 5xl hover:red" cursor="default">Hello Nuxt 3</span> | ||
<br> | ||
<div i-carbon-car text-4xl inline-block /> | ||
<br> | ||
<button btn> | ||
Button | ||
</button> | ||
</main> | ||
</template> | ||
|
||
<style> | ||
@import '@unocss/reset/tailwind.css'; | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default defineNuxtConfig({ | ||
modules: [ | ||
'@pinceau/nuxt', | ||
], | ||
}) |
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,17 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"_prepare": "nuxi prepare", | ||
"build": "nuxi build", | ||
"dev": "nuxi dev", | ||
"preview": "nuxi preview" | ||
}, | ||
"devDependencies": { | ||
"@pinceau/nuxt": "workspace:*", | ||
"nuxt": "^3.5.3" | ||
}, | ||
"stackblitz": { | ||
"installDependencies": false, | ||
"startCommand": "node .stackblitz.mjs && npm install && npm run dev" | ||
} | ||
} |
Oops, something went wrong.