kitchen-cli icon indicating copy to clipboard operation
kitchen-cli copied to clipboard

Missing Semantic folder in UI for React project

Open 1jerry opened this issue 7 years ago • 3 comments

with setting frontend: semantic-ui, option --react. Error: template directory not found "C:\Program Files (x86)\meteor-kitchen\templates\react\ui\semantic-ui".

  • no semantic-ui directory for react
    • copied semantic-ui from blaze folder to react .
    • now it doesn't finish generating - missing jsx file(s)
      • (renaming .js to .jsx files doesn't work - it is looking for different tags)

1jerry avatar Sep 27 '17 15:09 1jerry

@1jerry React + Semantic UI is not implemented in Meteor Kitchen (and most likelly will not be implemented). You can use Semantic UI only with Blaze.

perak avatar Sep 27 '17 21:09 perak

Well since the Blaze version uses Iron Router I guess I am out of luck using your excellent code generator. Since I need React - FlowRouter - Semantic UI and I cannot ever get two out of three as a starting point. :(

1jerry avatar Oct 02 '17 22:10 1jerry

Hi @1jerry

if you want to contribute, goto directory where meteor-kitchen is installed, templates are in /templates/react/bootstrap3/ you can make /templates/react/semantic-ui directory and copy all from bootstrap3 dir, then refactor/change html markup and classes to senantic-ui.

Another option is to convert /blaze/semantic-ui templates to react using my blaze2react.meteorcluster.com online tool and manually fix conversion bugs (converter is far from perfect).

perak avatar Oct 02 '17 22:10 perak