mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-12 07:10:43 +08:00
0.3.1 版本号同步
This commit is contained in:
parent
e8a2409fc5
commit
4a9fcd9906
5
.env
5
.env
@ -1 +1,4 @@
|
|||||||
VITE_VERSION=0.3.0
|
# WS_HOST=
|
||||||
|
# API_HOST=
|
||||||
|
# NEZHA_HOST=
|
||||||
|
# NEZHA_HOST_REPACE_PATH=
|
||||||
|
|||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2024 hi2hi
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nazhua",
|
"name": "nazhua",
|
||||||
"private": true,
|
"version": "0.3.1",
|
||||||
"version": "0.3.0",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
@ -34,5 +33,9 @@
|
|||||||
"vite": "^5.4.10",
|
"vite": "^5.4.10",
|
||||||
"vite-plugin-babel": "^1.2.0",
|
"vite-plugin-babel": "^1.2.0",
|
||||||
"vite-plugin-eslint": "^1.8.1"
|
"vite-plugin-eslint": "^1.8.1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/hi2shark/nazhua"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,10 +10,12 @@
|
|||||||
>哪吒监控</a>
|
>哪吒监控</a>
|
||||||
</span>
|
</span>
|
||||||
<span class="text">
|
<span class="text">
|
||||||
Theme By <span
|
Theme By <a
|
||||||
|
ref="nofollow"
|
||||||
class="nazhua"
|
class="nazhua"
|
||||||
title="公开版本还在搓,Coming Soon ~"
|
href="https://github.com/hi2shark/nazhua"
|
||||||
>Nazhua</span>
|
target="_blank"
|
||||||
|
>Nazhua</a>
|
||||||
{{ version }}
|
{{ version }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -25,7 +27,7 @@
|
|||||||
* Footer
|
* Footer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const version = import.meta.env.VITE_VERSION;
|
const version = import.meta.env.VITE_APP_VERSION;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@ -42,11 +44,16 @@ const version = import.meta.env.VITE_VERSION;
|
|||||||
|
|
||||||
.nazhua {
|
.nazhua {
|
||||||
color: #fa0;
|
color: #fa0;
|
||||||
cursor: default;
|
&:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
&:hover {
|
||||||
|
color: #08f;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -4,10 +4,12 @@ import { defineConfig } from 'vite';
|
|||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import babel from 'vite-plugin-babel';
|
import babel from 'vite-plugin-babel';
|
||||||
import eslintPlugin from 'vite-plugin-eslint';
|
import eslintPlugin from 'vite-plugin-eslint';
|
||||||
|
import packageJson from './package';
|
||||||
|
|
||||||
dotenv.config({
|
dotenv.config({
|
||||||
path: '.env.development.local',
|
path: '.env.development.local',
|
||||||
});
|
});
|
||||||
|
process.env.VITE_APP_VERSION = packageJson.version;
|
||||||
|
|
||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user