【发布时间】:2017-04-17 20:23:47
【问题描述】:
我是 EmberJs 的新手,我正在做一个项目,我需要在 ember-cli 生成的模板中添加 javascript 和 css 属性,我的困难在于找到 javascript 和 css 文件
When I search the project for the class or id, it shows me only what is in the dist that can not be changed
Can anyone with emberJS experience help me make these changes?
Template with i w[enter image description here][1]anna to work:
<div class="top-banner">
{{ top-banner pageBanner=model.news.banner }}
{{ search-component exchangeTypes=model.exchangeType}}
</div>
{{bread-crumbs breadcrumbs=breadcrumbs}}
<section class="container destaque noticia">
{{title-content light=model.news.title}}
<div class="row informacoes-news">
<div class="col-xs-12 noticia-texto">
{{{model.news.content}}}
</div>
</div>
</section>
{{share-bar}}
<div class="col-md-1 col-xs-12 download-container">
<a class="teste" href="{{model.news.pdf}}">Download</a>
</div>
{{featured-news type="featured_news" noticias=model.featuredNews news=true}}
{{contact-widget states=model.brazilState}}
{{rodape-sitemap}}
【问题讨论】:
-
那么,您需要知道 .css 文件、模板和控制器在项目结构中的位置吗?到目前为止,您尝试过什么?
标签: ember.js