iceqing / react-amis-admin Goto Github PK
View Code? Open in Web Editor NEW一个开箱可用的Amis + React 低代码开发环境
Home Page: https://amis.iceq.cc
License: Apache License 2.0
一个开箱可用的Amis + React 低代码开发环境
Home Page: https://amis.iceq.cc
License: Apache License 2.0
项目启动就到dashboard界面了。
没登录也可以进去。
登录页面 axios 登录请求 不走代理
npm ERR! code 1
npm ERR! path /Users/npc/github/react-amis-admin/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/install.js
npm ERR! node:internal/modules/cjs/loader:936
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module 'request'
npm ERR! Require stack:
npm ERR! - /Users/npc/github/react-amis-admin/node_modules/node-sass/scripts/install.js
npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:778:27)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1005:19)
npm ERR! at require (node:internal/modules/cjs/helpers:102:18)
npm ERR! at Object. (/Users/npc/github/react-amis-admin/node_modules/node-sass/scripts/install.js:10:13)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1101:14)
npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:981:32)
npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:822:12)
npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
npm ERR! code: 'MODULE_NOT_FOUND',
npm ERR! requireStack: [
npm ERR! '/Users/npc/github/react-amis-admin/node_modules/node-sass/scripts/install.js'
npm ERR! ]
npm ERR! }
requestInterceptor.ts来做全局接口拦截,code=1弹窗不能自动关闭
直接使用amis components 组件开发,要怎么知道支持哪些参数呢, 要看amis的代码? 还是有文档可以查看?
比如你在写这个renderAside的时候AsideNav的renderLink function要怎么写, 有什么参考吗
直接下载,然后运行。API无法请求到mock数据
如何自定义api请求的接口地址域名,项目启动默认是localhost:4000, 但是后端服务监听8080端口提供api接口,目前配置一个api:/a/b,完整请求地址:http://127.0.0.1:4000/a/b,如何调整成http://127.0.0.1:8080/a/b
我是前端小白,将版本升级后各种依赖问题搞不定。能帮忙出个react 18.2.0的版本嘛?
amis正确的样式如下:
// import styles
import 'amis/lib/themes/default.css';
import 'amis/lib/themes/antd.css';
import '@fortawesome/fontawesome-free/css/all.min.css';
import '@fortawesome/fontawesome-free/css/v4-shims.css';
请教:如何在开发时,指定API根地址呢?
现在都是从mock走的, 我要从我后台api获取
现在的情况是直接就加载了全部,写在前端的json数据,请问有什么办法通过后端获取json数据进行渲染吗?
I receive following error in the browser console after running:
npm i
npm run dev
It is also not possible to run a form in debug mode:
`import schema2component from "@/utils/schema2component";
const schema = {
"type": "page",
"body": {
"type": "form",
"title": "用户信息",
"debug": true,
"debugConfig": {
"enableClipboard": true,
"displayDataTypes": true
},
"body": [
{
"type": "input-text",
"name": "name",
"label": "姓名"
},
{
"type": "input-email",
"name": "email",
"label": "邮箱"
}
]
}
}
export default schema2component(schema);`
是否可以增加多页签功能
mobx.module.js:29 Uncaught Error: [mobx] There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use configure({ isolateGlobalState: true })
at invariant (mobx.module.js:29:15)
at fail2 (mobx.module.js:24:5)
at mobx.module.js:1489:17
renderer with name "remark" has already exists, please try another name!
您好,请教一下,在本项目框架里,如何向amis的context追加一些自己的参数。比如 我想把我VITE_API_URL这个参数放到context里,方便我在amis的json页面直接引用。我应该怎么做呢
请问一下,在框架中如何动态的加载多个主题css,进行切换主题?
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.