Closed
Description
I'm having a heck of a time trying to import jsonapi-datastore into my Ember application using Browserify. Can someone help me with the syntax? new JsonApiDataStore()
yields the following when I try:
import { JsonApiDataStore } from 'npm:jsonapi-datastore';
Gives me npm_jsonapi_datastore.JsonApiDataStore is not a function
, and:
import JsonApiDataStore from 'npm:jsonapi-datastore';
Gives me JsonApiDataStore.default is not a function
, and:
import * as JsonApiDataStore from 'npm:jsonapi-datastore';
Gives me JsonApiDataStore is not a function
.
Thanks in advance for any suggestions...
Metadata
Metadata
Assignees
Labels
No labels