aurelia / documentation

The documentation for Aurelia.
MIT License
105 stars 110 forks source link

docs(cli): cookbook entry for TypeORM in frontend #383

Closed zewa666 closed 5 years ago

zewa666 commented 5 years ago

instructions on how to load the frontend wrapper for TypeORM and how to configure paths to point to your server entity files

zewa666 commented 5 years ago

@huochunpeng I tried out the following and it works for my sample app. Anything else you see that's might missing?

3cp commented 5 years ago

Looks good to me. But your setup is not easy for users to understand, so I suggest:

  1. provide a demo repo for users to understand the structure.
  2. explain that path "entities": "../../server/src/entity" is relative to src folder front-end-project/src, it resolves to server/src/entity.
EisenbergEffect commented 5 years ago

I'm going to merge this in. @zewa666 if you want to do another PR to make some other additions, feel free at any time.