mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-11 14:40: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",
|
||||
"private": true,
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@ -34,5 +33,9 @@
|
||||
"vite": "^5.4.10",
|
||||
"vite-plugin-babel": "^1.2.0",
|
||||
"vite-plugin-eslint": "^1.8.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hi2shark/nazhua"
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,10 +10,12 @@
|
||||
>哪吒监控</a>
|
||||
</span>
|
||||
<span class="text">
|
||||
Theme By <span
|
||||
Theme By <a
|
||||
ref="nofollow"
|
||||
class="nazhua"
|
||||
title="公开版本还在搓,Coming Soon ~"
|
||||
>Nazhua</span>
|
||||
href="https://github.com/hi2shark/nazhua"
|
||||
target="_blank"
|
||||
>Nazhua</a>
|
||||
{{ version }}
|
||||
</span>
|
||||
</div>
|
||||
@ -25,7 +27,7 @@
|
||||
* Footer
|
||||
*/
|
||||
|
||||
const version = import.meta.env.VITE_VERSION;
|
||||
const version = import.meta.env.VITE_APP_VERSION;
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@ -42,11 +44,16 @@ const version = import.meta.env.VITE_VERSION;
|
||||
|
||||
.nazhua {
|
||||
color: #fa0;
|
||||
cursor: default;
|
||||
&:hover {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
&:hover {
|
||||
color: #08f;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -4,10 +4,12 @@ import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import babel from 'vite-plugin-babel';
|
||||
import eslintPlugin from 'vite-plugin-eslint';
|
||||
import packageJson from './package';
|
||||
|
||||
dotenv.config({
|
||||
path: '.env.development.local',
|
||||
});
|
||||
process.env.VITE_APP_VERSION = packageJson.version;
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user