ember install ember-cli-notifications
An Ember addon that adds Atom inspired notification messages to your app.
Interactive documentation can be found here.
As of 5.0.0 we no longer depend on Font Awesome so you can remove any configuration you have related to the icons:
var ENV = {
'ember-cli-notifications': {
includeFontAwesome: true
}
}
or
var ENV = {
'ember-cli-notifications': {
icons: 'bootstrap'
}
}
We have also updated the name of the service to be simply notifications
so you can now inject the notifications service with a much simpler inject statement:
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default Controller.extend({
notifications: service(),
});
We have removed the use of CSS Modules so you can now override the styles more effectively without needing as many hacks. You can remove any strange hacks that you might have implemented in your app to override styles.
See the Contributing guide for details.
原文地址:http://120.24.90.140:2368/sheng-ji-emberdao-2-2-0ban-ben/ 版本升级 目前(2015-11-24)使用Ember CLI命令安装的ember项目默认使用的ember版本是1.13.x。如果你想升级到2.0或更高的版本只能手动升级。 下面讲为大家介绍怎么升级到2.2.0版本的ember。 1. 安装项目 项目安装仍然使用Emb
出现这个错误在编译的时候完全没有问题,当你在浏览器加载的时候控制台就会报这个错误。解决办法是将bower.json文件中的 "jquery": "^1.11.3"中的“^”去掉变成 "jquery": "1.11.3"。 原始的bower.json文件如下: { "name": "borrow", "dependencies": { "ember": "1.13.7",
In this article, we’ll look at the new release of react-notifications-component (v2.0.6). It’s a React component that provides you with a fully-featured notification system that will save you the time
Ember CLI 是一个 Ember.js 命令行工具,提供了由 broccoli 提供的快速的资源管道和项目结构。 Ember CLI 基于 Ember App Kit Project 目前已经废弃。 Assets Compilation Ember CLI asset compilation is based on broccoli. Broccoli has support for: Ha
This repository is no longer maintained. As a replacement check out: https://github.com/sir-dunxalot/ember-tooltips Ember CLI Tooltipster An Ember CLI add-on that wraps Tooltipster into an ember compo
ember-cli-updater This ember-cli addon helps you update your ember-cli application or addon. The idea of this addon is to automate some parts of the upgrade process so it's simplified. Not every chang
Ember-cli-yadda This Ember CLI addon facilitates writing BDD tests in the Gherkin language and executing them against your Ember app. @mschinis (Micheal Schinis) Did a great talk at @emberlondon BDD a
Ember-cli-simditor Ember component wrapper for simditor. Changes 0.0.7 Different from previous version, you must wrap content in object. See issue 6 for why. Getting Started Installation In your ember
ember-cli-chai Chai assertions for Ember.js. Deprecated This package is deprecated. Please use ember-auto-import to use chai and chai plugins directly. If you'd like to use chai, or were previously us