nwb icon indicating copy to clipboard operation
nwb copied to clipboard

serve-react-demo configurable directory?

Open ekotlikoff opened this issue 5 years ago • 1 comments

This issue is a: Question/Feature request

I've set up my react-component with nwb and liking it a lot. I'm looking to host my docs/demo via github pages and want to use their master /docs/ option. Seems like there's not currently a way to configure serve-react-demo to serve from a different directory. Is this an easy enhancement, or is there another easy approach that you'd recommend?

ekotlikoff avatar Aug 19 '18 02:08 ekotlikoff

It'd be easy enough to allow this to be configured by passing an argument - the demo build stuff is a bit hard-codey as it was extracted from my component projects a few years ago and hasn't had much love since.

insin avatar Aug 20 '18 00:08 insin