4 Star 4 Fork 0

陈民 / react-select2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

bitHound Overall Score bitHound Dependencies bitHound Code

lovli.js

lovli.js

A starter kit which allows you to develop realtime applications in minutes.

lovli.js Preview

Demo: lovli.neschkudla.at

Stack

Installation

$ git clone git@github.com:flipace/lovli.js.git
$ cd lovli.js
$ npm i

You'll need to have RethinkDB running.

Run

$ npm start # starts app in dev mode
$ npm run prod # starts server in production mode
$ npm run build # builds source files in .build/
$ node .build/server.bundle.js # starts server (after you built with npm run build)

This will start a server listening on port 3000. You can change the port in config/page.js or by setting the PORT environment variable.

Configure horizon

If you want to configure the props for the horizon client, you can do that by passing a configuration object as the first parameter to HorizonConnector() in source/client/containers/Root.js and the target element as the second parameter.

The props you provide there will be passed to horizon().

FAQ

How to add vendor scripts and css?

If you want to add any vendor javascript or css, you'll likely not want it to be processed by babel or localized by css loader.

Add these scripts to the static/vendor folder and they will use a different loader configuration.

How to configure data subscriptions?

Check out flipace/horizon-react for documentation of the horizon-react subscribe function.

Why won't the server reload?

The server won't hot reload. It would be possible to implement a restart on file change though.

Contributing

Pull Requests are very welcome!

If you find any issues, please report them via Github Issues!

License

(MIT)

The MIT License (MIT) Copyright (c) 2016 Patrick Neschkudla Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

react-select2-demo redux redux-form 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/worldonevn/react-select2.git
git@gitee.com:worldonevn/react-select2.git
worldonevn
react-select2
react-select2
master

搜索帮助