thenerdie / roact-router

Declarative routing for Roact, based off of React Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



Documentation (TODO)

Installation

Roact Router searches for a Roact module with the same parent as it. If it doesn't find Roact, it will fail to load.

With Rojo 0.6.0+

Add this repository as a Git submodule into the directory that you prefer to store your packages in.

git submodule add https://github.com/Reselim/roact-router packages/RoactRouter

This example assumes your packages directory is "packages".

Without Rojo

Grab the latest .rbxm file from the releases page and drag it into Studio. Make sure it's under the same parent as Roact.

Using roblox-ts

Install with npm:

npm i @rbxts/roact-router

License

Roact Router is licensed under the MIT license.

About

Declarative routing for Roact, based off of React Router

License:MIT License


Languages

Language:Lua 100.0%