Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
/ roact-router Public archive

Declarative routing for Roact, based off of React Router

License

Notifications You must be signed in to change notification settings

Reselim/roact-router

Repository files navigation



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.