Skip to content

Commit 231bb0a

Browse files
committed
init
0 parents  commit 231bb0a

14 files changed

+2376
-0
lines changed

.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
quote_type = single

.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
dist
3+
output
4+
README.md

.eslintrc.cjs

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
const { defineConfig } = require('eslint-define-config');
2+
3+
module.exports = defineConfig({
4+
root: true,
5+
parser: 'vue-eslint-parser',
6+
parserOptions: {
7+
sourceType: 'module',
8+
ecmaFeatures: {
9+
jsx: true,
10+
},
11+
},
12+
env: {
13+
browser: true,
14+
node: true,
15+
},
16+
extends: [
17+
'plugin:vue/recommended',
18+
],
19+
rules: {
20+
// js
21+
'eol-last': 'error',
22+
'no-trailing-spaces': 'error',
23+
'comma-style': ['error', 'last'],
24+
'comma-dangle': ['error', 'always-multiline'],
25+
'no-multi-spaces': 'error',
26+
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
27+
'object-curly-spacing': ['error', 'always'],
28+
'arrow-parens': ['error', 'as-needed'],
29+
'spaced-comment': ['error', 'always'],
30+
'semi': [2, 'always'],
31+
// vue
32+
'vue/no-v-html': 'off',
33+
'vue/singleline-html-element-content-newline': 'off',
34+
'vue/multi-word-component-names': 'off',
35+
'vue/max-attributes-per-line': ['error', { singleline: 3, multiline: 1 }],
36+
'vue/script-indent': ['error', 2, { baseIndent: 1, switchCase: 1 }],
37+
'vue/order-in-components': 'off',
38+
'vue/require-default-prop': 'off',
39+
'vue/html-closing-bracket-spacing': 'error',
40+
'vue/require-prop-types': 'off',
41+
'vue/prop-name-casing': 'off',
42+
'vue/no-template-shadow': 'off',
43+
'vue/no-side-effects-in-computed-properties': 'off',
44+
'vue/no-mutating-props': 'off',
45+
'vue/no-use-v-if-with-v-for': 'off',
46+
'vue/require-v-for-key': 'off',
47+
'vue/valid-v-for': 'off',
48+
'vue/no-unused-vars': 'off',
49+
'vue/no-v-model-argument': 'off',
50+
'vue/no-multiple-template-root': 'off',
51+
},
52+
});

.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.DS_Store
2+
node_modules
3+
dist
4+
output
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# Editor directories and files
17+
.idea
18+
.vscode
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.sw?

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023-present kooriookami
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Vue 2 + Vite
2+
3+
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4+
5+
## Recommended IDE Setup
6+
7+
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

index.html

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

jsconfig.json

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

0 commit comments

Comments
 (0)