• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ReactPrimer/ReactPrimer: React component prototyping tool that generates fully c ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

ReactPrimer/ReactPrimer

开源软件地址:

https://github.com/ReactPrimer/ReactPrimer

开源编程语言:

JavaScript 88.7%

开源软件介绍:

ReactPrimer · GitHub license GitHub release

React Primer is a component prototyping tool that generates fully connected class component code.

Setup

MacOS
  1. Download the latest release .dmg file.
  2. Open the installer.
  3. Move React Primer to your local application folder.
Windows
  1. Download the latest .zip file.
  2. Unpackage the .zip file.
  3. Shortcut .exe file to destktop.
  4. Follow installation process.
Linux
  1. Download the latest .deb file.
  2. Unpackage the .deb file.
  3. Type in React-Primer from the terminal.

Usage

  • Name individual components, assign parent-child relationships, and add components to the project tree.

  • Drag and drop individual components to restructure the hierarchy tree view.

  • Export project to generate a folder of fully connected component classes.

  • Save generated components locally to a new or existing project.

  • Use Save/Load feature to revisit a prototype.

Forking Your Own Version

If you'd like to build your own version of React Primer:

  1. Clone the repo and npm install dependancies.

  2. Open one terminal and npm run dev to generate the webpack build.

  3. Open another terminal and npm start to start Electron.

  4. Uncomment line 23 require('electron-reload')(__dirname); for hot reloading (Optional).

  5. Enable Devloper Tools (Optional).

     Chrome Developer Tool

         a. Uncomment line 45 mainWindow.webContents.openDevTools()

     React Developer Tool

         a. Uncomment line 78 const configValues = require('./config');

         b. Uncomment line 79 BrowserWindow.addDevToolsExtension(configValues.absolutePath);

         c. Create ./config in root directory:

{
  "absolutePath": "/Users/*User*/Library/Application Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/2.5.2_0"
}

Why

React Primer provides a visual representation of your project during the preliminary stages of development, before you write a single line of code.

This simple to use application saves time by generating component files that automatically require and render their child components based on the prototyped hierarchy.

React Primer’s component tree GUI makes it easy to test, edit, and re-export your component tree as many times as needed.

Contributing

Please submit issues/pull requests if you have feedback or message the React Primer team to be added as a contributor: [email protected]

Authors

Ken Lee (https://github.com/kenhughlee)

Kat Sampias (https://github.com/ksampias)

Vince Vuong (https://github.com/vincevuong)

License

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap