Merge pull request #41 from szluyu99/main

This commit is contained in:
Ronnie Zhang 2023-06-19 09:01:24 +08:00 committed by GitHub
commit 5a9c0fb584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 11 deletions

View File

@ -4,8 +4,8 @@
</a> </a>
</p> </p>
<p align="center"> <p align="center">
<a href="https://github.com/zclzone/vue-naive-admin"><img allt="stars" src="https://badgen.net/github/stars/zclzone/vue-naive-admin"/></a> <a href="https://github.com/zclzone/vue-naive-admin"><img alt="stars" src="https://badgen.net/github/stars/zclzone/vue-naive-admin"/></a>
<a href="https://github.com/zclzone/vue-naive-admin"><img allt="forks" src="https://badgen.net/github/forks/zclzone/vue-naive-admin"/></a> <a href="https://github.com/zclzone/vue-naive-admin"><img alt="forks" src="https://badgen.net/github/forks/zclzone/vue-naive-admin"/></a>
<a href="./LICENSE"><img allt="MIT License" src="https://badgen.net/github/license/zclzone/vue-naive-admin"/></a> <a href="./LICENSE"><img allt="MIT License" src="https://badgen.net/github/license/zclzone/vue-naive-admin"/></a>
</p> </p>
@ -185,7 +185,7 @@ Vue Naive Admin
#### source code #### source code
- gitub: [https://github.com/zclzone/qs-admin](https://github.com/zclzone/qs-admin) - github: [https://github.com/zclzone/qs-admin](https://github.com/zclzone/qs-admin)
- gitee: [https://gitee.com/zclzone/qs-admin-ts](https://gitee.com/zclzone/qs-admin-ts) - gitee: [https://gitee.com/zclzone/qs-admin-ts](https://gitee.com/zclzone/qs-admin-ts)
#### preview #### preview
@ -193,6 +193,11 @@ Vue Naive Admin
- [https://admin.qszone.com](https://admin.qszone.com) - [https://admin.qszone.com](https://admin.qszone.com)
- [https://zclzone.github.io/qs-admin](https://zclzone.github.io/qs-admin) - [https://zclzone.github.io/qs-admin](https://zclzone.github.io/qs-admin)
### Open source projects that use this project:
gin-vue-blog: A full-stack blog project in Golang, the frontend of the blog backend is based on vue-naive-admin and integrates with a real backend service, implementing features such as backend-controlled routing.
- github: [https://github.com/szluyu99/gin-vue-blog](https://github.com/szluyu99/gin-vue-blog)
### Communication group & About the author ### Communication group & About the author
<a href="https://blog.qszone.com/about/"> <a href="https://blog.qszone.com/about/">

View File

@ -4,9 +4,9 @@
</a> </a>
</p> </p>
<p align="center"> <p align="center">
<a href="https://github.com/zclzone/vue-naive-admin"><img allt="stars" src="https://badgen.net/github/stars/zclzone/vue-naive-admin"/></a> <a href="https://github.com/zclzone/vue-naive-admin"><img alt="stars" src="https://badgen.net/github/stars/zclzone/vue-naive-admin"/></a>
<a href="https://github.com/zclzone/vue-naive-admin"><img allt="forks" src="https://badgen.net/github/forks/zclzone/vue-naive-admin"/></a> <a href="https://github.com/zclzone/vue-naive-admin"><img alt="forks" src="https://badgen.net/github/forks/zclzone/vue-naive-admin"/></a>
<a href="./LICENSE"><img allt="MIT License" src="https://badgen.net/github/license/zclzone/vue-naive-admin"/></a> <a href="./LICENSE"><img alt="MIT License" src="https://badgen.net/github/license/zclzone/vue-naive-admin"/></a>
</p> </p>
<p align='center'> <p align='center'>
@ -189,7 +189,7 @@ Vue Naive Admin
#### 源码 #### 源码
- gitub: [https://github.com/zclzone/qs-admin](https://github.com/zclzone/qs-admin) - github: [https://github.com/zclzone/qs-admin](https://github.com/zclzone/qs-admin)
- gitee: [https://gitee.com/zclzone/qs-admin-ts](https://gitee.com/zclzone/qs-admin-ts) - gitee: [https://gitee.com/zclzone/qs-admin-ts](https://gitee.com/zclzone/qs-admin-ts)
#### 预览 #### 预览
@ -197,6 +197,11 @@ Vue Naive Admin
- [https://admin.qszone.com](https://admin.qszone.com) - [https://admin.qszone.com](https://admin.qszone.com)
- [https://zclzone.github.io/qs-admin](https://zclzone.github.io/qs-admin) - [https://zclzone.github.io/qs-admin](https://zclzone.github.io/qs-admin)
### 使用该项目的开源项目
gin-vue-blog: Golang 全栈博客项目, 博客后台的前端基于 vue-naive-admin对接真实后端服务实现了后端控制路由等特性。
- github: [https://github.com/szluyu99/gin-vue-blog](https://github.com/szluyu99/gin-vue-blog)
### 入群交流 & 关于作者 ### 入群交流 & 关于作者
<a href="https://blog.qszone.com/about/"> <a href="https://blog.qszone.com/about/">

View File

@ -4,7 +4,7 @@ import dotenv from 'dotenv'
/** /**
* * 项目根路径 * * 项目根路径
* @descrition 结尾不带/ * @description 结尾不带/
*/ */
export function getRootPath() { export function getRootPath() {
return path.resolve(process.cwd()) return path.resolve(process.cwd())
@ -13,7 +13,7 @@ export function getRootPath() {
/** /**
* * 项目src路径 * * 项目src路径
* @param srcName src目录名称(默认: "src") * @param srcName src目录名称(默认: "src")
* @descrition 结尾不带斜杠 * @description 结尾不带斜杠
*/ */
export function getSrcPath(srcName = 'src') { export function getSrcPath(srcName = 'src') {
return path.resolve(getRootPath(), srcName) return path.resolve(getRootPath(), srcName)

View File

@ -2,6 +2,7 @@
"compilerOptions": { "compilerOptions": {
"target": "ESNext", "target": "ESNext",
"baseUrl": "./", "baseUrl": "./",
"moduleResolution": "node",
"paths": { "paths": {
"~/*": ["./*"], "~/*": ["./*"],
"@/*": ["src/*"] "@/*": ["src/*"]

View File

@ -14,12 +14,12 @@
</n-statistic> </n-statistic>
<n-statistic label="Stars" ml-80 w-100> <n-statistic label="Stars" ml-80 w-100>
<a href="https://github.com/zclzone/vue-naive-admin"> <a href="https://github.com/zclzone/vue-naive-admin">
<img allt="stars" src="https://badgen.net/github/stars/zclzone/vue-naive-admin" /> <img alt="stars" src="https://badgen.net/github/stars/zclzone/vue-naive-admin" />
</a> </a>
</n-statistic> </n-statistic>
<n-statistic label="Forks" ml-80 w-100> <n-statistic label="Forks" ml-80 w-100>
<a href="https://github.com/zclzone/vue-naive-admin"> <a href="https://github.com/zclzone/vue-naive-admin">
<img allt="forks" src="https://badgen.net/github/forks/zclzone/vue-naive-admin" /> <img alt="forks" src="https://badgen.net/github/forks/zclzone/vue-naive-admin" />
</a> </a>
</n-statistic> </n-statistic>
</div> </div>