Open jinruyan opened 5 years ago
想多了,这是 React 组件。
vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗?
楼主解决了吗
vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗?
不可以啊,这组件写的很多用vuera不能转
vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗?
不可以啊,这组件写的很多用vuera不能转
可以呀,我在一个 vue 项目中就用了,没什么问题。「这组件写的很多用vuera不能转」指的是?
vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗?
不可以啊,这组件写的很多用vuera不能转
可以呀,我在一个 vue 项目中就用了,没什么问题。「这组件写的很多用vuera不能转」指的是?
These dependencies were not found:
- react in ./node_modules/@ant-design/create-react-context/lib/index.js, ./node_modules/@ant-design/create-react-context/lib/implementation.js and 325 others
- react-dom in ./node_modules/antd/es/_util/wave.js, ./node_modules/antd/es/alert/index.js and 57 others
To install them, you can run: npm install --save react react-dom
请问下,安装了vuera 加载Vue.use(VuePlugin) 后 需要单独安装react和react-dom吗
需要,而且版本应该也有限制,试试:
npm install --save react@16.9.0
npm install --save react-dom@16.9.0
vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗?
不可以啊,这组件写的很多用vuera不能转
可以呀,我在一个 vue 项目中就用了,没什么问题。「这组件写的很多用vuera不能转」指的是?
These dependencies were not found:
- react in ./node_modules/@ant-design/create-react-context/lib/index.js, ./node_modules/@ant-design/create-react-context/lib/implementation.js and 325 others
- react-dom in ./node_modules/antd/es/_util/wave.js, ./node_modules/antd/es/alert/index.js and 57 others
To install them, you can run: npm install --save react react-dom 请问下,安装了vuera 加载Vue.use(VuePlugin) 后 需要单独安装react和react-dom吗
需要,而且版本应该也有限制,试试:
npm install --save react@16.9.0 npm install --save react-dom@16.9.0
可以了,成功了,谢谢
我是直接这样引入成功的,可是我发现他这是编译好的。。。 我要修改他的源码难道需要重新打包吗 schemaEditor = require("json-schema-editor-visual/dist/main.js")
------------------ 原始邮件 ------------------ 发件人: "Yue"<notifications@github.com>; 发送时间: 2020年6月5日(星期五) 中午11:43 收件人: "YMFE/json-schema-editor-visual"<json-schema-editor-visual@noreply.github.com>; 抄送: "希望〆不灭"<1481746137@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [YMFE/json-schema-editor-visual] vue项目可以用这个吗 (#16)
vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗?
可以用,见 https://github.com/akxcv/vuera
不可以啊,这组件写的很多用vuera不能转
可以呀,我在一个 vue 项目中就用了,没什么问题。「这组件写的很多用vuera不能转」指的是?
These dependencies were not found:
react in ./node_modules/@ant-design/create-react-context/lib/index.js, ./node_modules/@ant-design/create-react-context/lib/implementation.js and 325 others
react-dom in ./node_modules/antd/es/_util/wave.js, ./node_modules/antd/es/alert/index.js and 57 others
To install them, you can run: npm install --save react react-dom
请问下,安装了vuera 加载Vue.use(VuePlugin) 后 需要单独安装react和react-dom吗
需要,而且版本应该也有限制,试试: npm install --save react@16.9.0 npm install --save react-dom@16.9.0
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
我是直接这样引入成功的,可是我发现他这是编译好的。。。 我要修改他的源码难道需要重新打包吗 schemaEditor = require("json-schema-editor-visual/dist/main.js")
是的,改完源码要重新编译打包
可是我把他打包好的dist目录,放在项目目录里 就是不通过.module 同样的引入方法 报错说 PureComponent 错误在dist/main.js文件.... require("自己的项目目录/dist/main.css"); const schemaEditor = require("自己的项目目录/dist/main.js"); ------------------ 原始邮件 ------------------ 发件人: "Yue"<notifications@github.com>; 发送时间: 2020年6月5日(星期五) 下午5:52 收件人: "YMFE/json-schema-editor-visual"<json-schema-editor-visual@noreply.github.com>; 抄送: "希望〆不灭"<1481746137@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [YMFE/json-schema-editor-visual] vue项目可以用这个吗 (#16)
我是直接这样引入成功的,可是我发现他这是编译好的。。。 我要修改他的源码难道需要重新打包吗 schemaEditor = require("json-schema-editor-visual/dist/main.js") … ------------------ 原始邮件 ------------------ 发件人: "Yue"<notifications@github.com>; 发送时间: 2020年6月5日(星期五) 中午11:43 收件人: "YMFE/json-schema-editor-visual"<json-schema-editor-visual@noreply.github.com>; 抄送: "希望〆不灭"<1481746137@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [YMFE/json-schema-editor-visual] vue项目可以用这个吗 (#16) vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗? 可以用,见 https://github.com/akxcv/vuera 不可以啊,这组件写的很多用vuera不能转 可以呀,我在一个 vue 项目中就用了,没什么问题。「这组件写的很多用vuera不能转」指的是? These dependencies were not found: react in ./node_modules/@ant-design/create-react-context/lib/index.js, ./node_modules/@ant-design/create-react-context/lib/implementation.js and 325 others react-dom in ./node_modules/antd/es/_util/wave.js, ./node_modules/antd/es/alert/index.js and 57 others To install them, you can run: npm install --save react react-dom 请问下,安装了vuera 加载Vue.use(VuePlugin) 后 需要单独安装react和react-dom吗 需要,而且版本应该也有限制,试试: npm install --save react@16.9.0 npm install --save react-dom@16.9.0 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
是的,改完源码要重新编译打包
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
------------------ 原始邮件 ------------------ 发件人: "Yue"<notifications@github.com>; 发送时间: 2020年6月5日(星期五) 下午5:52 收件人: "YMFE/json-schema-editor-visual"<json-schema-editor-visual@noreply.github.com>; 抄送: "希望〆不灭"<1481746137@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [YMFE/json-schema-editor-visual] vue项目可以用这个吗 (#16)
我是直接这样引入成功的,可是我发现他这是编译好的。。。 我要修改他的源码难道需要重新打包吗 schemaEditor = require("json-schema-editor-visual/dist/main.js") … ------------------ 原始邮件 ------------------ 发件人: "Yue"<notifications@github.com>; 发送时间: 2020年6月5日(星期五) 中午11:43 收件人: "YMFE/json-schema-editor-visual"<json-schema-editor-visual@noreply.github.com>; 抄送: "希望〆不灭"<1481746137@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [YMFE/json-schema-editor-visual] vue项目可以用这个吗 (#16) vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗? 可以用,见 https://github.com/akxcv/vuera 不可以啊,这组件写的很多用vuera不能转 可以呀,我在一个 vue 项目中就用了,没什么问题。「这组件写的很多用vuera不能转」指的是? These dependencies were not found: react in ./node_modules/@ant-design/create-react-context/lib/index.js, ./node_modules/@ant-design/create-react-context/lib/implementation.js and 325 others react-dom in ./node_modules/antd/es/_util/wave.js, ./node_modules/antd/es/alert/index.js and 57 others To install them, you can run: npm install --save react react-dom 请问下,安装了vuera 加载Vue.use(VuePlugin) 后 需要单独安装react和react-dom吗 需要,而且版本应该也有限制,试试: npm install --save react@16.9.0 npm install --save react-dom@16.9.0 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
是的,改完源码要重新编译打包
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
楼主解决了吗
vue 项目可以用这个https://github.com/zyqwst/json-schema-editor-vue
当时找到这个组件相当惊喜,但是一看到react,俺就疲软了。所以花了三天工夫模仿这款组件的UI写了个vue版,https://github.com/zyqwst/json-schema-editor-vue
厉害了,大神
------------------ 原始邮件 ------------------ 发件人: "YMFE/json-schema-editor-visual" <notifications@github.com>; 发送时间: 2020年7月28日(星期二) 中午1:21 收件人: "YMFE/json-schema-editor-visual"<json-schema-editor-visual@noreply.github.com>; 抄送: "希望〆不灭"<1481746137@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [YMFE/json-schema-editor-visual] vue项目可以用这个吗 (#16)
当时找到这个组件相当惊喜,但是一看到react,俺就疲软了。所以花了三天工夫模仿这款组件的UI写了个vue版,https://github.com/zyqwst/json-schema-editor-vue
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
欢迎 star fork;
当时找到这个组件相当惊喜,但是一看到react,俺就疲软了。所以花了三天工夫模仿这款组件的UI写了个vue版,https://github.com/zyqwst/json-schema-editor-vue
为什么相当惊喜,哪儿打动了你 @zyqwst
当时找到这个组件相当惊喜,但是一看到react,俺就疲软了。所以花了三天工夫模仿这款组件的UI写了个vue版,https://github.com/zyqwst/json-schema-editor-vue
为什么相当惊喜,哪儿打动了你 @zyqwst
跟我的需求很符合。看你这个口气有不同的见解?
当时找到这个组件相当惊喜,但是一看到react,俺就疲软了。所以花了三天工夫模仿这款组件的UI写了个vue版,https://github.com/zyqwst/json-schema-editor-vue
为什么相当惊喜,哪儿打动了你 @zyqwst
跟我的需求很符合。看你这个口气有不同的见解?
@zyqwst 我就是作者哈,感谢你的认可,当时考虑到易用性,所以才想出现在得交互方式
当时找到这个组件相当惊喜,但是一看到react,俺就疲软了。所以花了三天工夫模仿这款组件的UI写了个vue版,https://github.com/zyqwst/json-schema-editor-vue
为什么相当惊喜,哪儿打动了你 @zyqwst
跟我的需求很符合。看你这个口气有不同的见解?
@zyqwst 我就是作者哈,感谢你的认可,当时考虑到易用性,所以才想出现在得交互方式 Orz,原来是大神
几个月前项目也用到,那时还没找到楼上作者的这个vue版本的,不过当时项目用的是 element-ui,自己也随意改了一个版本:
vue新手,前端新手,只会copy/paste。这个可以在vue项目使用吗?