I am using Ember 3.10 and made a fresh project and did npm i googleapis
. I tried using ember-auto-import
and ember-cli-es6-transform
but neither work. All I want is for this to work:
import { google } from 'googleapis';
I did notice that Google pre-builds the package (googleapis/build/src/...
). Does this mean I can just do app.import(node_modules/googleapis/...)
in my ember-cli-build.js
file? Any clues or tips? Am I supposed to even use the node package?
Aucun commentaire:
Enregistrer un commentaire