pnpm install
npm start
fluxy-admin
Home Page: https://www.fluxyadmin.cn
License: MIT License
之前用vue项目,动态菜单,默认登录后进入动态菜单第一项,也可以说动态菜单的第一项,默认是首页,但这个路径还是动态菜单的正常路径,并非/。这样就不用提前在router中定义首页了。刚接触react项目,不知道这个需求是否可行?
windicss已经不怎么维护了,替换tailwindcss吧
[vite] ws proxy error:
Error: connect ECONNREFUSED 180.163.28.105:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
加了secure: false 配置也不管用,请问这个怎么处理。
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7)
(anonymous) @ instrument.ts:132
printWarning @ react-dom.development.js:86
error @ react-dom.development.js:60
validateFunctionComponentInDev @ react-dom.development.js:20193
mountIndeterminateComponent @ react-dom.development.js:20160
beginWork @ react-dom.development.js:21587
beginWork$1 @ react-dom.development.js:27426
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
performConcurrentWorkOnRoot @ react-dom.development.js:25738
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check the render method of App
.
at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7163:28)
at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7)
(anonymous) @ instrument.ts:132
printWarning @ react-dom.development.js:86
error @ react-dom.development.js:60
validateFunctionComponentInDev @ react-dom.development.js:20193
mountIndeterminateComponent @ react-dom.development.js:20160
beginWork @ react-dom.development.js:21587
beginWork$1 @ react-dom.development.js:27426
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
performConcurrentWorkOnRoot @ react-dom.development.js:25738
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check the render method of App
.
at App (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:15002:16)
at FormProvider2 (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5393:31)
at LocaleProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5884:13)
at SizeContextProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:6920:5)
at ProviderChildren (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7045:5)
at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7163:28)
at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7)
(anonymous) @ instrument.ts:132
printWarning @ react-dom.development.js:86
error @ react-dom.development.js:60
validateFunctionComponentInDev @ react-dom.development.js:20193
mountIndeterminateComponent @ react-dom.development.js:20160
beginWork @ react-dom.development.js:21587
beginWork$1 @ react-dom.development.js:27426
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
performConcurrentWorkOnRoot @ react-dom.development.js:25738
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check the render method of App
.
at Router (http://localhost:5173/src/router.tsx?t=1696342121320:89:11)
at ErrorBoundary (http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=5e5a0711:16521:5)
at div
at App (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:15002:16)
at FormProvider2 (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5393:31)
at LocaleProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5884:13)
at SizeContextProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:6920:5)
at ProviderChildren (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7045:5)
at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7163:28)
at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7)
(anonymous) @ instrument.ts:132
printWarning @ react-dom.development.js:86
error @ react-dom.development.js:60
validateFunctionComponentInDev @ react-dom.development.js:20193
mountIndeterminateComponent @ react-dom.development.js:20160
beginWork @ react-dom.development.js:21587
beginWork$1 @ react-dom.development.js:27426
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
performConcurrentWorkOnRoot @ react-dom.development.js:25738
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
别人有遇到这个问题吗?
看过你写的多标签功能实现的文章,能在脚手架里增加这个功能吗
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0 || ^17.0.0" from [email protected]
npm ERR! node_modules/react-sortable-hoc
npm ERR! react-sortable-hoc@"^2.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
我们需要react18.2.0版本,但react-sortable-hoc@"^2.0.0"又要求使用react@"^16.3.0 || ^17.0.0",这个怎么解决好?
The interface is very nice, and a Vue version can be produced
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.