Skip to content

Commit a313cc7

Browse files
committed
ping-viewer-next-frontend: Add frontend project
1 parent b412cbc commit a313cc7

36 files changed

+5040
-0
lines changed
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
+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
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"globals": {
3+
"Component": true,
4+
"ComponentPublicInstance": true,
5+
"ComputedRef": true,
6+
"EffectScope": true,
7+
"ExtractDefaultPropTypes": true,
8+
"ExtractPropTypes": true,
9+
"ExtractPublicPropTypes": true,
10+
"InjectionKey": true,
11+
"PropType": true,
12+
"Ref": true,
13+
"VNode": true,
14+
"WritableComputedRef": true,
15+
"computed": true,
16+
"createApp": true,
17+
"customRef": true,
18+
"defineAsyncComponent": true,
19+
"defineComponent": true,
20+
"effectScope": true,
21+
"getCurrentInstance": true,
22+
"getCurrentScope": true,
23+
"h": true,
24+
"inject": true,
25+
"isProxy": true,
26+
"isReactive": true,
27+
"isReadonly": true,
28+
"isRef": true,
29+
"markRaw": true,
30+
"nextTick": true,
31+
"onActivated": true,
32+
"onBeforeMount": true,
33+
"onBeforeRouteLeave": true,
34+
"onBeforeRouteUpdate": true,
35+
"onBeforeUnmount": true,
36+
"onBeforeUpdate": true,
37+
"onDeactivated": true,
38+
"onErrorCaptured": true,
39+
"onMounted": true,
40+
"onRenderTracked": true,
41+
"onRenderTriggered": true,
42+
"onScopeDispose": true,
43+
"onServerPrefetch": true,
44+
"onUnmounted": true,
45+
"onUpdated": true,
46+
"provide": true,
47+
"reactive": true,
48+
"readonly": true,
49+
"ref": true,
50+
"resolveComponent": true,
51+
"shallowReactive": true,
52+
"shallowReadonly": true,
53+
"shallowRef": true,
54+
"toRaw": true,
55+
"toRef": true,
56+
"toRefs": true,
57+
"toValue": true,
58+
"triggerRef": true,
59+
"unref": true,
60+
"useAttrs": true,
61+
"useCssModule": true,
62+
"useCssVars": true,
63+
"useLink": true,
64+
"useRoute": true,
65+
"useRouter": true,
66+
"useSlots": true,
67+
"watch": true,
68+
"watchEffect": true,
69+
"watchPostEffect": true,
70+
"watchSyncEffect": true,
71+
"onWatcherCleanup": true,
72+
"useId": true,
73+
"useModel": true,
74+
"useTemplateRef": true
75+
}
76+
}
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* .eslint.js
3+
*
4+
* ESLint configuration file.
5+
*/
6+
7+
module.exports = {
8+
root: true,
9+
env: {
10+
node: true,
11+
},
12+
extends: ["vuetify", "./.eslintrc-auto-import.json"],
13+
rules: {
14+
"vue/multi-word-component-names": "off",
15+
},
16+
};

ping-viewer-next-frontend/.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?

ping-viewer-next-frontend/README.md

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Vuetify (Default)
2+
3+
This is the official scaffolding tool for Vuetify, designed to give you a head start in building your new Vuetify application. It sets up a base template with all the necessary configurations and standard directory structure, enabling you to begin development without the hassle of setting up the project from scratch.
4+
5+
## ❗️ Important Links
6+
7+
- 📄 [Docs](https://vuetifyjs.com/)
8+
- 🚨 [Issues](https://issues.vuetifyjs.com/)
9+
- 🏬 [Store](https://store.vuetifyjs.com/)
10+
- 🎮 [Playground](https://play.vuetifyjs.com/)
11+
- 💬 [Discord](https://community.vuetifyjs.com)
12+
13+
## 💿 Install
14+
15+
Set up your project using your preferred package manager. Use the corresponding command to install the dependencies:
16+
17+
| Package Manager | Command |
18+
|---------------------------------------------------------------|----------------|
19+
| [yarn](https://yarnpkg.com/getting-started) | `yarn install` |
20+
| [npm](https://docs.npmjs.com/cli/v7/commands/npm-install) | `npm install` |
21+
| [pnpm](https://pnpm.io/installation) | `pnpm install` |
22+
| [bun](https://bun.sh/#getting-started) | `bun install` |
23+
24+
After completing the installation, your environment is ready for Vuetify development.
25+
26+
## ✨ Features
27+
28+
- 🖼️ **Optimized Front-End Stack**: Leverage the latest Vue 3 and Vuetify 3 for a modern, reactive UI development experience. [Vue 3](https://v3.vuejs.org/) | [Vuetify 3](https://vuetifyjs.com/en/)
29+
- 🗃️ **State Management**: Integrated with [Pinia](https://pinia.vuejs.org/), the intuitive, modular state management solution for Vue.
30+
- 🚦 **Routing and Layouts**: Utilizes Vue Router for SPA navigation and vite-plugin-vue-layouts for organizing Vue file layouts. [Vue Router](https://router.vuejs.org/) | [vite-plugin-vue-layouts](https://github.com/JohnCampionJr/vite-plugin-vue-layouts)
31+
-**Next-Gen Tooling**: Powered by Vite, experience fast cold starts and instant HMR (Hot Module Replacement). [Vite](https://vitejs.dev/)
32+
- 🧩 **Automated Component Importing**: Streamline your workflow with unplugin-vue-components, automatically importing components as you use them. [unplugin-vue-components](https://github.com/antfu/unplugin-vue-components)
33+
34+
These features are curated to provide a seamless development experience from setup to deployment, ensuring that your Vuetify application is both powerful and maintainable.
35+
36+
## 💡 Usage
37+
38+
This section covers how to start the development server and build your project for production.
39+
40+
### Starting the Development Server
41+
42+
To start the development server with hot-reload, run the following command. The server will be accessible at [http://localhost:3000](http://localhost:3000):
43+
44+
```bash
45+
yarn dev
46+
```
47+
48+
(Repeat for npm, pnpm, and bun with respective commands.)
49+
50+
> Add NODE_OPTIONS='--no-warnings' to suppress the JSON import warnings that happen as part of the Vuetify import mapping. If you are on Node [v21.3.0](https://nodejs.org/en/blog/release/v21.3.0) or higher, you can change this to NODE_OPTIONS='--disable-warning=5401'. If you don't mind the warning, you can remove this from your package.json dev script.
51+
52+
### Building for Production
53+
54+
To build your project for production, use:
55+
56+
```bash
57+
yarn build
58+
```
59+
60+
(Repeat for npm, pnpm, and bun with respective commands.)
61+
62+
Once the build process is completed, your application will be ready for deployment in a production environment.
63+
64+
## 💪 Support Vuetify Development
65+
66+
This project is built with [Vuetify](https://vuetifyjs.com/en/), a UI Library with a comprehensive collection of Vue components. Vuetify is an MIT licensed Open Source project that has been made possible due to the generous contributions by our [sponsors and backers](https://vuetifyjs.com/introduction/sponsors-and-backers/). If you are interested in supporting this project, please consider:
67+
68+
- [Requesting Enterprise Support](https://support.vuetifyjs.com/)
69+
- [Sponsoring John on Github](https://github.com/users/johnleider/sponsorship)
70+
- [Sponsoring Kael on Github](https://github.com/users/kaelwd/sponsorship)
71+
- [Supporting the team on Open Collective](https://opencollective.com/vuetify)
72+
- [Becoming a sponsor on Patreon](https://www.patreon.com/vuetify)
73+
- [Becoming a subscriber on Tidelift](https://tidelift.com/subscription/npm/vuetify)
74+
- [Making a one-time donation with Paypal](https://paypal.me/vuetify)
75+
76+
## 📑 License
77+
[MIT](http://opensource.org/licenses/MIT)
78+
79+
Copyright (c) 2016-present Vuetify, LLC

ping-viewer-next-frontend/biome.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": []
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double"
28+
}
29+
}
30+
}

ping-viewer-next-frontend/bun.lockb

174 KB
Binary file not shown.

ping-viewer-next-frontend/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.js"></script>
14+
</body>
15+
16+
</html>
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"compilerOptions": {
3+
"allowJs": true,
4+
"target": "es5",
5+
"module": "esnext",
6+
"baseUrl": "./",
7+
"moduleResolution": "bundler",
8+
"paths": {
9+
"@/*": ["src/*"]
10+
},
11+
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
12+
}
13+
}

0 commit comments

Comments
 (0)