Loopback discoverAndBuildModels not generating models

后端 未结 4 1338
鱼传尺愫
鱼传尺愫 2021-02-05 23:29

I\'m trying to get Loopback to discover and build my first table. I\'ve used the simple example on their page at the bottom here:

http://docs.strongloop.com/display/LB/D

4条回答
  •  清酒与你
    2021-02-05 23:49

    Use Arc for this. Run slc arc from the project folder and it will show up the gui tool called arc in default browser. If you've not already registered, sign up and log in. You will be directed to GUI tool of StrongLoop, the Arc. Select your model from list on the left pane. You'll be able to see save and migrate button. Just click the migrate button and your table will be created into model.(within millisecs!)

    Cheers!

提交回复
热议问题