Skip to content

Commit 50fce04

Browse files
committed
chore: init commit
0 parents  commit 50fce04

37 files changed

+3978
-0
lines changed

.browserslistrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
> 1%
2+
last 2 versions
3+
not dead
4+
not ie 11

.editorconfig

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

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_API_SERVER_URL=http://localhost:8096

.eslintrc.js

+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: [
7+
'plugin:vue/vue3-recommended',
8+
'standard',
9+
'@vue/eslint-config-typescript',
10+
],
11+
rules: {
12+
'no-var': 'error',
13+
// allow paren-less arrow functions
14+
'arrow-parens': ['error', 'as-needed'],
15+
// set maximum line characters
16+
'max-len': ['error', {
17+
code: 140,
18+
ignoreUrls: true,
19+
ignoreTemplateLiterals: true,
20+
ignoreTrailingComments: true,
21+
}],
22+
complexity: ['error', 32],
23+
quotes: ['error', 'single', {
24+
avoidEscape: true,
25+
allowTemplateLiterals: true,
26+
}],
27+
'no-console': 'off',
28+
'comma-dangle': ['error', {
29+
arrays: 'always-multiline',
30+
objects: 'always-multiline',
31+
imports: 'always-multiline',
32+
exports: 'always-multiline',
33+
functions: 'only-multiline',
34+
}],
35+
// allow debugger during development
36+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
37+
'no-return-assign': 'off',
38+
'no-unused-vars': 'error',
39+
'no-empty': 'error',
40+
'array-bracket-spacing': ['error', 'never'],
41+
'object-curly-spacing': ['error', 'always'],
42+
'space-before-function-paren': [
43+
'error',
44+
{
45+
anonymous: 'always',
46+
named: 'always',
47+
asyncArrow: 'always',
48+
},
49+
],
50+
'no-return-await': 'warn',
51+
'object-shorthand': ['error', 'always'],
52+
'no-extra-semi': 'error',
53+
'prefer-const': ['error', {
54+
destructuring: 'all',
55+
ignoreReadBeforeAssign: true,
56+
}],
57+
'no-prototype-builtins': 'off',
58+
'no-void': 'off',
59+
'no-case-declarations': 'off',
60+
'sort-imports': ['warn', {
61+
ignoreDeclarationSort: true,
62+
ignoreCase: true,
63+
}],
64+
'multiline-ternary': 'off',
65+
66+
// Not in override, these apply to non-.vue files too
67+
'vue/require-default-prop': 'off',
68+
'vue/require-prop-types': 'off',
69+
'vue/one-component-per-file': 'off',
70+
'vue/custom-event-name-casing': ['error', { ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'] }],
71+
},
72+
overrides: [
73+
{
74+
files: '**/*.vue',
75+
rules: {
76+
indent: 'off',
77+
'vue/script-indent': ['error', 2, {
78+
baseIndent: 1,
79+
switchCase: 1,
80+
ignores: [],
81+
}],
82+
'vue/html-closing-bracket-newline': ['error', {
83+
singleline: 'never',
84+
multiline: 'always',
85+
}],
86+
'vue/html-closing-bracket-spacing': 'error',
87+
'vue/max-attributes-per-line': ['error', {
88+
singleline: 5,
89+
multiline: 1,
90+
}],
91+
'vue/valid-v-on': 'off', // This rule doesn't allow empty event listeners
92+
'vue/no-v-html': 'off',
93+
'vue/singleline-html-element-content-newline': 'off',
94+
'vue/multiline-html-element-content-newline': 'off',
95+
'vue/valid-v-slot': ['error', { allowModifiers: true }],
96+
'vue/multi-word-component-names': 'off',
97+
},
98+
},
99+
],
100+
}

.gitignore

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

README.md

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# essentials
2+
3+
## Project setup
4+
5+
```
6+
# yarn
7+
yarn
8+
9+
# npm
10+
npm install
11+
12+
# pnpm
13+
pnpm install
14+
15+
# bun
16+
bun install
17+
```
18+
19+
### Compiles and hot-reloads for development
20+
21+
```
22+
# yarn
23+
yarn dev
24+
25+
# npm
26+
npm run dev
27+
28+
# pnpm
29+
pnpm dev
30+
31+
# bun
32+
bun run dev
33+
```
34+
35+
### Compiles and minifies for production
36+
37+
```
38+
# yarn
39+
yarn build
40+
41+
# npm
42+
npm run build
43+
44+
# pnpm
45+
pnpm build
46+
47+
# bun
48+
bun run build
49+
```
50+
51+
### Lints and fixes files
52+
53+
```
54+
# yarn
55+
yarn lint
56+
57+
# npm
58+
npm run lint
59+
60+
# pnpm
61+
pnpm lint
62+
63+
# bun
64+
bun run lint
65+
```
66+
67+
### Customize configuration
68+
69+
See [Configuration Reference](https://vitejs.dev/config/).

components.d.ts

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// Generated by unplugin-vue-components
5+
// Read more: https://github.com/vuejs/core/pull/3399
6+
export {}
7+
8+
declare module 'vue' {
9+
export interface GlobalComponents {
10+
GetAQuote: typeof import('./src/components/GetAQuote.vue')['default']
11+
Heading: typeof import('./src/components/Heading.vue')['default']
12+
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
13+
Jumbotron: typeof import('./src/components/Jumbotron.vue')['default']
14+
RouterLink: typeof import('vue-router')['RouterLink']
15+
RouterView: typeof import('vue-router')['RouterView']
16+
Testimonial: typeof import('./src/components/Testimonial.vue')['default']
17+
}
18+
}

index.html

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

lib/main.ts

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { App } from 'vue'
2+
3+
// Components
4+
import VoAuthDialog from '../src/components/VoAuthDialog.vue'
5+
6+
// Stores
7+
import { useAuthStore } from '../src/store/auth'
8+
import { useUserStore } from '../src/store/user'
9+
10+
export function install (app: App) {
11+
app.component('VoAuthDialog', VoAuthDialog)
12+
}
13+
14+
export { useAuthStore, useUserStore }

package.json

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"name": "@vuetify/one",
3+
"version": "0.0.0",
4+
"type": "module",
5+
"files": [
6+
"dist"
7+
],
8+
"main": "./dist/v-one.umd.cjs",
9+
"module": "./dist/v-one.js",
10+
"exports": {
11+
".": {
12+
"import": "./dist/v-one.js",
13+
"require": "./dist/v-one.umd.cjs"
14+
}
15+
},
16+
"scripts": {
17+
"dev": "vite",
18+
"build": "vite --config vite.build.config.ts build",
19+
"preview": "vite preview",
20+
"lint": "eslint . --fix --ignore-path .gitignore"
21+
},
22+
"dependencies": {
23+
"@mdi/font": "7.0.96",
24+
"@mdi/js": "6.2.95",
25+
"core-js": "^3.29.0",
26+
"lodash-es": "^4.17.21",
27+
"pinia": "^2.0.0",
28+
"roboto-fontface": "*",
29+
"vue": "^3.2.0",
30+
"vue-router": "^4.0.0",
31+
"vuetify": "^3.0.0"
32+
},
33+
"devDependencies": {
34+
"@babel/types": "^7.21.4",
35+
"@types/lodash-es": "^4.17.12",
36+
"@types/node": "^18.15.0",
37+
"@vitejs/plugin-vue": "^4.0.0",
38+
"@vue/eslint-config-typescript": "^11.0.0",
39+
"eslint": "^8.46.0",
40+
"eslint-config-standard": "^17.1.0",
41+
"eslint-plugin-import": "^2.28.0",
42+
"eslint-plugin-n": "^16.0.1",
43+
"eslint-plugin-node": "^11.1.0",
44+
"eslint-plugin-promise": "^6.1.1",
45+
"eslint-plugin-vue": "^9.16.1",
46+
"sass": "^1.60.0",
47+
"typescript": "^5.0.0",
48+
"unplugin-fonts": "^1.0.3",
49+
"unplugin-vue-components": "^0.26.0",
50+
"unplugin-vue-router": "^0.7.0",
51+
"vite": "^4.2.0",
52+
"vite-plugin-vue-layouts": "^0.8.0",
53+
"vite-plugin-vuetify": "^1.0.0",
54+
"vue-tsc": "^1.2.0"
55+
}
56+
}

public/favicon.ico

15 KB
Binary file not shown.

src/App.vue

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<template>
2+
<router-view />
3+
</template>
4+
5+
<script lang="ts" setup>
6+
//
7+
</script>

src/assets/logo.png

11.7 KB
Loading

src/assets/logo.svg

+6
Loading

0 commit comments

Comments
 (0)