Closed joshuajonah closed 6 years ago
It's not only for guys ;-)
But, as explained in the docs, the dynamic export only works with Ember so far http://drf-schema-adapter.readthedocs.io/en/latest/export_app/#usage The reason for this is that Ember comes built in with an "on-the-fly" model registration, other libraries don't.
There are most likely ways to do that with react, vue or angular using require
. If you build your own template that works with any of the main-stream frontends (ie: angular, react, vue), PR's are welcome. You'll probably have to use/extend the adapter that is pre-configured for use with that frontend instead of using BaseAdapter
too.
Traceback:
So I decided maybe I'll just copy that
dynamic_template_name
into theBaseAdapater
and that worked!.... But then I looked at the export and yep, all ember branded:Then I looked at the template and figured I guess i could just copy it and format it the way I like. Is this normal? or is there a bug with the MetadataAdapter?