Skip to content

Commit 6bb5452

Browse files
committed
init
0 parents  commit 6bb5452

20 files changed

+3288
-0
lines changed

Diff for: .editorconfig

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
2+
charset = utf-8
3+
indent_size = 2
4+
indent_style = space
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true

Diff for: .eslintrc

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"node": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:vue/vue3-recommended",
9+
"plugin:prettier/recommended"
10+
],
11+
"parserOptions": {
12+
"ecmaVersion": 2020,
13+
"sourceType": "module"
14+
},
15+
"rules": {
16+
"prettier/prettier": [
17+
"error",
18+
{
19+
"singleQuote": true,
20+
"semi": false,
21+
"bracketSameLine": false,
22+
"htmlWhitespaceSensitivity": "strict"
23+
}
24+
],
25+
"vue/singleline-html-element-content-newline": "off",
26+
"vue/max-attributes-per-line": [
27+
"error",
28+
{
29+
"singleline": 1,
30+
"multiline": 1
31+
}
32+
],
33+
"vue/html-indent": [
34+
"error",
35+
"tab",
36+
{
37+
"attribute": 1,
38+
"baseIndent": 1,
39+
"closeBracket": 0,
40+
"alignAttributesVertically": true
41+
}
42+
]
43+
}
44+
}

Diff for: .gitignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
23+
.idea
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
30+
*.tsbuildinfo

Diff for: README.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# vue-project-one
2+
3+
This template should help get you started developing with Vue 3 in Vite.
4+
5+
## Recommended IDE Setup
6+
7+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8+
9+
## Customize configuration
10+
11+
See [Vite Configuration Reference](https://vite.dev/config/).
12+
13+
## Project Setup
14+
15+
```sh
16+
pnpm install
17+
```
18+
19+
### Compile and Hot-Reload for Development
20+
21+
```sh
22+
pnpm dev
23+
```
24+
25+
### Compile and Minify for Production
26+
27+
```sh
28+
pnpm build
29+
```
30+
31+
### Lint with [ESLint](https://eslint.org/)
32+
33+
```sh
34+
pnpm lint
35+
```

Diff for: eslint.config.js

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import js from '@eslint/js'
2+
import pluginVue from 'eslint-plugin-vue'
3+
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
4+
5+
export default [
6+
{
7+
name: 'app/files-to-lint',
8+
files: ['**/*.{js,mjs,jsx,vue}'],
9+
},
10+
11+
{
12+
name: 'app/files-to-ignore',
13+
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
14+
},
15+
16+
js.configs.recommended,
17+
...pluginVue.configs['flat/essential'],
18+
skipFormatting,
19+
]

Diff for: index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="">
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel="icon" href="#">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Vite App</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.js"></script>
12+
</body>
13+
</html>

Diff for: jsconfig.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"compilerOptions": {
3+
"paths": {
4+
"@/*": [
5+
"./src/*"
6+
]
7+
}
8+
},
9+
"exclude": [
10+
"node_modules",
11+
"dist"
12+
]
13+
}

Diff for: package.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "vue-project-one",
3+
"version": "0.0.0",
4+
"private": true,
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "vite build",
9+
"preview": "vite preview",
10+
"lint": "eslint --ext .js,.vue src",
11+
"format": "prettier --write \"src/**/*.{js,vue}\""
12+
},
13+
"dependencies": {
14+
"axios": "^1.7.9",
15+
"vue": "^3.5.13",
16+
"vue-router": "^4.5.0",
17+
"vuex": "4"
18+
},
19+
"devDependencies": {
20+
"@eslint/js": "^9.14.0",
21+
"@vitejs/plugin-vue": "^5.2.1",
22+
"@vue/eslint-config-prettier": "^10.1.0",
23+
"eslint": "^9.17.0",
24+
"eslint-plugin-vue": "^9.32.0",
25+
"prettier": "^3.3.3",
26+
"vite": "^6.0.5",
27+
"vite-plugin-vue-devtools": "^7.6.8"
28+
},
29+
"packageManager": "[email protected]+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
30+
}

0 commit comments

Comments
 (0)