I am trying to use js-beautify in my ember application. The module is imported in app.import('bower_components/js-beautify/js/lib/beautify.js');
in ember-cli-build.js
but i dont know how to use the beautify.js
. how can i import the package in my controller? I tried something like this: import Ember from 'ember';
but with my bower_components/js-beautify/js/lib/beautify.js
route but it refused to work.
Aucun commentaire:
Enregistrer un commentaire