Skip to content

A way to forward a launch to a dev instance of a Tsugi react app

Notifications You must be signed in to change notification settings

tsugiproject/reactlaunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tsugi React Tool Development Launcher

When a Tsugi React tool is running in production, Tsugi's react support places the tool in a dist folder with an index.php file that receives the launch and transfers launch data to the React application through the _TSUGI JavaScript variable.

So you can just re-deply over and over and launch the tool straight from /tsugi/store

npm run build

But this is a slow process and does not allow for the amazing React under Node feature where you edit a file and it auto-refreshes instantly.

This Tsugi React Development launcher makes it so you can edit and test a React tool interactively.

Using this tool

Install this tool in a mod folder in yourt Tsugi instance. Configure the tool to point to the Node URL in Settings:

http://localhost:9000/

And then you shoul dbe able to launch to the tool - and when you change the tool it will auto-refresh.

About

A way to forward a launch to a dev instance of a Tsugi react app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages