React-Proto:适用于开发人员和设计人员的React应用程序原型开发工具

网友投稿 988 2022-11-03

React-Proto:适用于开发人员和设计人员的React应用程序原型开发工具

React-Proto:适用于开发人员和设计人员的React应用程序原型开发工具

React-Proto is a React application prototyping tool for developers and designers.

React-Proto allows the user to visualize/setup their application architecture upfront and eject this architecture as application files either into a previous project or a new create-react-app project or a starter template from any repository.

Download for MacOS, Windows, Linux.

Mac users only: for now you might need to go to your security settings to allow the app run on your system as we do not have an Apple license yet.

If you find any issues, file issue

How To Use

Application can be run from cli using react-proto command or by clicking on the application icon. To start a new project, either import a mockup or start with a blank stage. Add components you would like to create using the input, then drag the component frame into place and resize accordingly.

While building, you can use the icons in the toolbar to zoom, toggle draggability of the stage, update or remove an image, collapse the left container, and export your files. For each component you have the ability to define whether your component will have state, the color of the frame component, and the ability to apply a parent component. If you place a container around other components and can no longer access them, you can use the layer buttons in the corresponding dropdown menu to change layer order down or up.

In the right container, the props tab allows you to define props in key value pairs, as well as the necessary prop type. Once you are finished, you can use the export button in the toolbar to choose from three options of how to export your files:Import your files into an existing project. Just choose the path where you would like to create your components folder.Use create-react-app to start a new project (the project will be under the "proto_app").Clone your favorite Github repo to start a project with your favorite starter files.

Lastly, start building!

Authors

Blessing E Ebowe @refinedblessing

Brian Taylor @brianwtaylor

Erik Guntner @erikguntner

Running Your Own Version

Fork and Clone Repository. Open project directory

cd react-proto

Install dependencies

yarn install

Run application

yarn start

For development experience...

yarn dev

and on another terminal

yarn electron

Linting

yarn linter

Testing

yarn test

Built With

React - Framework for building user interaces.Redux - Predictable state container for JavaScript apps.Electron - Cross-platform desktop apps with HTML, CSS and JS.KonvaJS - HTML5 2d canvas library for desktop and mobile applications.React-Sortable-Tree - Drag-and-drop sortable component for nested data and hierarchies.

Acknowledgments

Logo Design

Clariz Mariano @havengoer

Joe Thel @fakemonster

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:这是一个简单的JS库,用于处理Web应用程序中的粘贴/拖放事件
下一篇:ZooKeeper入门教程三分布式锁实现及完整运行源码
相关文章

 发表评论

暂时没有评论,来抢沙发吧~