Skip to content

Commit

Permalink
primevue
Browse files Browse the repository at this point in the history
  • Loading branch information
idmytro committed Feb 4, 2024
1 parent b87f67f commit bc5fe2f
Show file tree
Hide file tree
Showing 25 changed files with 4,277 additions and 11 deletions.
24 changes: 24 additions & 0 deletions _2024-primevue-uno/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
5 changes: 5 additions & 0 deletions _2024-primevue-uno/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Vue 3 + Vite + TS + PrimeVue + UnoCSS

```
npx degit idmytro/vue3-multi-starter/_2024-primevue-uno myproject
```
26 changes: 26 additions & 0 deletions _2024-primevue-uno/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import antfu from '@antfu/eslint-config'
import noAutofix from 'eslint-plugin-no-autofix'

export default antfu(
{
plugins: {
'no-autofix': noAutofix,
},
},
{
rules: {
'style/space-before-function-paren': [
2,
{
anonymous: 'always',
named: 'always',
asyncArrow: 'always',
},
],
'ts/prefer-function-type': 2,

'unused-imports/no-unused-imports': 0, // look below
'no-autofix/unused-imports/no-unused-imports': 2,
},
},
)
13 changes: 13 additions & 0 deletions _2024-primevue-uno/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>2024</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
28 changes: 28 additions & 0 deletions _2024-primevue-uno/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext .ts,.js,.vue"
},
"dependencies": {
"@unocss/reset": "^0.58.3",
"primevue": "^3.47.2",
"vue": "^3.4.9"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.2",
"@unocss/transformer-directives": "^0.58.3",
"@vitejs/plugin-vue": "^5.0.3",
"eslint": "^8.56.0",
"eslint-plugin-no-autofix": "^1.2.3",
"typescript": "5.0.4",
"unocss": "^0.58.3",
"unplugin-auto-import": "^0.17.3",
"vite": "^5.0.11",
"vue-tsc": "^1.8.27"
}
}
Loading

0 comments on commit bc5fe2f

Please sign in to comment.