rekit icon indicating copy to clipboard operation
rekit copied to clipboard

rekit cli not work as docs said

Open vale1534 opened this issue 9 years ago • 2 comments

  1. rekit create hello --clean does not create a clean app, rekit version is v2.0.3.

  2. rekit add component home/hello -u hello does not add the route.

I check the source and known that rekit cli send command with url_path param to the rekit-core, but rekit-core is using urlPath as the route param.

Change addCmd.addArgument(['--url-path', '-u'], ...) to addCmd.addArgument(['--urlPath', '-u'], ...) in rekit.js fix the bug.

vale1534 avatar Jul 10 '17 06:07 vale1534

Thanks @wenris for reporting this. --clean command has not been supported yet. The second issue has been fixed.

supnate avatar Jul 12 '17 02:07 supnate

--clean will be tracked by #24 , close this one.

supnate avatar Jul 12 '17 02:07 supnate