1 Star 10 Fork 2

Laosiji / xpDesktop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

小鹏桌面 - 浏览器主页桌面

作者:b站爪蛙君

预览

技术栈

前端

主要技术

  • Vue 3
  • Vite 2
  • ElementPlus 组件库
  • Pinia 状态管理
  • TypeScript 类型控制
  • Eslint 代码规范控制

依赖库

  • axios 网络请求
  • getopts 命令参数解析
  • amap/amap-jsapi-loader 高德地图库

后端

主要技术

  • Nodejs
  • Mongodb
  • Express

项目启动

前端

依次输入以下命令

npm install
npm run dev

后端

依次输入以下命令

npm install
npm run serve-d

目录结构

前端

  • packages 自定义包
  • public 公共静态资源
  • src
    • assets 静态资源
    • components 组件
      • dialog 弹窗
      • drawer 抽屉弹窗
      • island 灵动岛组件
        • components 灵动小组件
      • toolPanel 桌面小组件
      • window 窗口组件
        • slot 窗口插槽组件
    • config 配置
    • directive 自定义指令
    • hooks 公共函数
    • http 请求接口
    • plugins 自定义插件
    • router 路由
    • store 状态管理仓库
    • style 公共样式
    • utils 工具
    • views 视图
    • App.vue 主页面
    • env.d.ts 环境定义
    • main.ts Vue 主文件
  • .eslintrc.js 代码规范
  • index.html 静态主页
  • package.json 项目管理
  • tsconfig.json TS 配置
  • vite.config.ts 打包工具配置

后端

  • config 配置
  • controller 控制器
  • log 日志
  • middleware 中间件
  • model 数据库模型
  • router 接口路由
  • upload 资源
  • utils 工具
  • validator 请求校验

开发心得

从想法到落地前后花了大概一周的时间,算是在学习道路上的一个积累,本来想继续不断完善下去,但迫于这段时间工作压力大,可能暂时不会继续维护下去,很多代码也可能存在不完善的地方,bug可能也会有一些,所以现在将项目开源出来,也可以让大家可以参考参考,当然大家也可以贡献自己的想法,去将它继续完善!

MIT License Copyright (c) 2022 Zachary 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.

简介

小鹏桌面,一个极简风格的浏览器主页 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/zhong_wei_peng/xp-desktop.git
git@gitee.com:zhong_wei_peng/xp-desktop.git
zhong_wei_peng
xp-desktop
xpDesktop
master

搜索帮助