Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 2251683

Browse files
committed
feat: init project
0 parents  commit 2251683

File tree

15 files changed

+9366
-0
lines changed

15 files changed

+9366
-0
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Nuxt dev/build outputs
2+
.output
3+
.data
4+
.nuxt
5+
.nitro
6+
.cache
7+
dist
8+
9+
# Node dependencies
10+
node_modules
11+
12+
# Logs
13+
logs
14+
*.log
15+
16+
# Misc
17+
.DS_Store
18+
.fleet
19+
.idea
20+
21+
# Local env files
22+
.env
23+
.env.*
24+
!.env.example

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit "$1"

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.prettierrc.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { type Config } from 'prettier';
2+
3+
const config: Config = {
4+
printWidth: 100,
5+
tabWidth: 4,
6+
useTabs: false,
7+
semi: true,
8+
singleQuote: true,
9+
bracketSpacing: true,
10+
arrowParens: 'always',
11+
plugins: ['@trivago/prettier-plugin-sort-imports'],
12+
importOrder: [
13+
'^vue$',
14+
'^@vue/(.*)$',
15+
'^vue-router',
16+
'^pinia',
17+
'^@element-plus/',
18+
'<THIRD_PARTY_MODULES>',
19+
'^@/(.*)$',
20+
'^[../]',
21+
'^[./]',
22+
],
23+
importOrderSeparation: false,
24+
importOrderSortSpecifiers: true,
25+
};
26+
27+
export default config;

README.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Nuxt Minimal Starter
2+
3+
Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
4+
5+
## Setup
6+
7+
Make sure to install dependencies:
8+
9+
```bash
10+
# npm
11+
npm install
12+
13+
# pnpm
14+
pnpm install
15+
16+
# yarn
17+
yarn install
18+
19+
# bun
20+
bun install
21+
```
22+
23+
## Development Server
24+
25+
Start the development server on `http://localhost:3000`:
26+
27+
```bash
28+
# npm
29+
npm run dev
30+
31+
# pnpm
32+
pnpm dev
33+
34+
# yarn
35+
yarn dev
36+
37+
# bun
38+
bun run dev
39+
```
40+
41+
## Production
42+
43+
Build the application for production:
44+
45+
```bash
46+
# npm
47+
npm run build
48+
49+
# pnpm
50+
pnpm build
51+
52+
# yarn
53+
yarn build
54+
55+
# bun
56+
bun run build
57+
```
58+
59+
Locally preview production build:
60+
61+
```bash
62+
# npm
63+
npm run preview
64+
65+
# pnpm
66+
pnpm preview
67+
68+
# yarn
69+
yarn preview
70+
71+
# bun
72+
bun run preview
73+
```
74+
75+
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.

app/app.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<template>
2+
<div>
3+
<NuxtRouteAnnouncer />
4+
<NuxtWelcome />
5+
</div>
6+
</template>

commitlint.config.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
export default {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'type-enum': [
5+
2,
6+
'always',
7+
['feat', 'fix', 'docs', 'style', 'refactor', 'test', 'chore', 'revert', 'perf'],
8+
],
9+
'type-case': [2, 'always', 'lower-case'],
10+
'type-empty': [2, 'never'],
11+
'subject-empty': [2, 'never'],
12+
'subject-full-stop': [2, 'never', '.'],
13+
'header-max-length': [2, 'always', 100],
14+
},
15+
};

eslint.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// @ts-check
2+
import withNuxt from './.nuxt/eslint.config.mjs';
3+
4+
export default withNuxt();
5+
// Your custom configs here

lint-staged.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
'*.{vue,js,jsx,ts,tsx}': ['eslint --fix', 'prettier --write'],
3+
'*.{json,md,css,scss,less,html}': ['prettier --write'],
4+
};

nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// https://nuxt.com/docs/api/configuration/nuxt-config
2+
export default defineNuxtConfig({
3+
compatibilityDate: '2025-07-15',
4+
devtools: { enabled: true },
5+
modules: ['@nuxt/eslint'],
6+
});

0 commit comments

Comments
 (0)