Coder Social home page Coder Social logo

chansee97 / nova-admin Goto Github PK

View Code? Open in Web Editor NEW
729.0 8.0 127.0 1.13 MB

A simple and flexible admin template based on Vue3, Vite, TypeScript, NaiveUI

Home Page: https://nova-admin.pages.dev/

License: MIT License

JavaScript 0.05% TypeScript 24.33% HTML 0.14% Vue 71.96% CSS 3.52%
admin vite vue unocss navie-ui

nova-admin's Introduction

About me

I'm Rock Chen 😪, a front-end developer

My 🗂️blog is where I post my work-in-progress ideas, practice notes, and explorations in my free time

If you have any questions, comments, or want to bounce ideas and collaborate, feel free to 📨[email protected]

You can find me from here

Technology Stack

Vue.js React.js Unocss JavaScript TypeScript Nest Vite Node.js Rust

Coding time statistics (not accurate)

CodeTime badge

nova-admin's People

Contributors

chansee97 avatar ckdzh avatar juneoy avatar viarotel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nova-admin's Issues

vscode render函数渲染jsx语法报错

Description

您好,在学习您的代码的过程中,有一个问题始终比较困扰
在account文件夹下的Index.vue文件中,使用了render函数去渲染组件,并使用了jsx语法,但是这在我的vscode中大量报红,搜寻了很多方法,尝试未果,这导致我的项目在运行老是在那行语句报错,想请问一下有什么好的解决办法吗?
image
image

Validations

  • Ensure this issue neither a bug report nor a feature proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

关于多级列表分页器未实现

Description

注意到多级列表的分页器为实现

Suggestion

注意到多级列表的分页器为实现

Additional context

No response

Validations

  • Ensure this issue not a feature proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

文件上传

Description

文件分片上传,断点续传,秒传

Suggestion

暂无

Additional context

No response

Validations

  • Ensure this issue not a feature proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

vscode打开代码很多报错

Description

大佬,createApp等vue的方法不用导入就可以使用吗?我的vscode上报错,不知道是不是没设置对
微信截图_20240711160619

Expected

如何解决呢

Additional comments

No response

Validations

  • Ensure this issue not a bug proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

Routing word error

Description

路由文件当中的routes.static.ts 中documents/vue,而不是你现在写的docments,以及,i18n 文件中的单词错误等,作为一个开源框架,这种基础的问题是不应该出现的,希望更正一下

Validations

  • Ensure this issue neither a bug report nor a feature proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

启动报错 SyntaxError: The requested module '@vue/devtools-core' does not provide an export named 'callViteClientListener'

Description

  • Node 版本:v20.14.0
  • pnpm 版本:9.3.0
pnpm dev

> [email protected] dev /Users/xpeng/Project/fuyao/nova-admin
> vite --mode dev --port 9980

failed to load config from /Users/xpeng/Project/fuyao/nova-admin/vite.config.ts
error when starting dev server:
file:///Users/xpeng/Project/fuyao/nova-admin/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/vite-plugin-vue-devtools/dist/vite.mjs:7
import { defineViteServerAction, callViteClientListener, initViteServerContext } from '@vue/devtools-core';
                                 ^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module '@vue/devtools-core' does not provide an export named 'callViteClientListener'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:217:5)
    at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
    at async loadConfigFromBundledFile (file:///Users/xpeng/Project/fuyao/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:66913:15)
    at async loadConfigFromFile (file:///Users/xpeng/Project/fuyao/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:66754:24)
    at async resolveConfig (file:///Users/xpeng/Project/fuyao/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:66364:24)
    at async _createServer (file:///Users/xpeng/Project/fuyao/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:62977:18)
    at async CAC.<anonymous> (file:///Users/xpeng/Project/fuyao/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/cli.js:735:20)
 ELIFECYCLE  Command failed with exit code 1.

Expected

  • 如有解决思路,请不吝给出,感谢

Additional comments

No response

Validations

  • Ensure this issue not a bug proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

📌 Todo list

  • 完善文档站点
  • 替换全局进度组件
  • 支持不同布局
  • 完善路由管理
  • 完善字典管理
  • 完善角色管理
  • 移除请求封装的数据封装
  • 增加 i18n 支持
  • 增加文档移除i18n教程?
  • 增加更细粒度的权限控制
  • 增加对于移动设备的适配
  • 补充文档中对于请求器配置传入说明
  • 补充文档line:check说明
  • 修改部分内置组件图标显式导入
  • 基于plop增加部分便利性功能
  • 更好的全局搜索,现在的有些问题,比如详情页也会被搜出来
  • 更好的图标选择器,与icons一致
  • 修改全局message,与naive解耦?
  • 增加单双token切换配置
  • 修改富文本组件
  • 修改md组件
  • 混合模式布局
  • 增加内容全屏

是否考虑推出【精简版】和【非国际化版】

Description

nova admin 的代码质量非常不错,是否考虑精简版(摘除无关的demo示例等)和非国际化版(摘除所有国际化代码) 的分支

Validations

  • Ensure this issue neither a bug report nor a feature proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

缺个手机的适配

有时候电脑没带在身边需要手机操作,一直想找个通用的管理模板

TypeError: (0 , _presetWind.presetWind) is not a function

Description

Error appeared when runing pnpm dev as follow:

(base) lizihang@MacBook-Pro nova-admin % pnpm dev

> [email protected] dev /Users/lizihang/open-source/github/nova-admin
> vite --mode dev --port 9980

error when starting dev server:
TypeError: (0 , _presetWind.presetWind) is not a function
    at /Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/@[email protected]/node_modules/@unocss/preset-uno/dist/index.mjs:69:43
    at /Users/lizihang/open-source/github/nova-admin/unocss.config.ts:6:35
    at evalModule (/Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.js:1:247359)
    at jiti (/Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.js:1:245172)
    at loadConfigFile (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/[email protected]/node_modules/unconfig/dist/index.mjs:177:13)
    at async Object.load (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/[email protected]/node_modules/unconfig/dist/index.mjs:98:24)
    at async loadConfig (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/@[email protected]/node_modules/@unocss/config/dist/index.mjs:43:18)
    at async reloadConfig (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected]_/node_modules/@unocss/vite/dist/index.mjs:93:20)
    at async Object.updateRoot (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected]_/node_modules/@unocss/vite/dist/index.mjs:125:12)
    at async configResolved (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected]_/node_modules/@unocss/vite/dist/index.mjs:1031:7)
    at async Promise.all (index 6)
    at async resolveConfig (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:69639:5)
    at async _createServer (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:65857:20)
    at async CAC.<anonymous> (file:///Users/lizihang/open-source/github/nova-admin/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/cli.js:762:24)
 ELIFECYCLE  Command failed with exit code 1.

Expected

command pnpm dev runs as expected

Additional comments

node---v20.12.2
pnpm---9.1.1

Validations

  • Ensure this issue not a bug proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

使用本地SVG渲染菜单图标

Description

请教一下:我想将项目中的菜单图标优先使用本地的svg图标,我应该如何改造项目。我在icon.ts中修改未生效

Validations

  • Ensure this issue neither a bug report nor a feature proposal.
  • Read the docs.
  • Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

登录后出现404

pnpm run dev , 登录, 进入了 /dashboard/workbench, 显示为 404,是什么原因 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.