Ember.js and UIKIT

眉间皱痕 提交于 2019-12-25 11:53:12

问题


I try to add UIKIT to my Ember.js project

how to do it?

1: bower install --save uikit

All work fine on bower.json

i don't know what to put on ember-cli-build.js

e.g : app.import('bower_components/uikit/css/uikit.css');

How to do about js files?

Thanks


回答1:


you import js files same way as css files, if js files are in bower_components/uikit/js/uikit.js you do app.import('bower_components/uikit/js/uikit.js');



来源:https://stackoverflow.com/questions/34465374/ember-js-and-uikit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!