angus-vue-emoji
v1.0.11
Published
Vue Emoji
Readme
#vue-emoji
###initialize(初始化)
npm i sass-loader node-sass -D
npm i angus-vue-emoji
import VueEmoji from 'angus-vue-emoji';
Vue.use(VueEmoji);###How to use in project(在项目中使用)
#####Trigger Button 触发按钮
<button @click="showEmoji = !showEmoji">trigger</button>#####Emoji Panel 选择表情面板
<angus-vue-emoji v-if="showEmoji"
@select="selectEmoji">
</angus-vue-emoji>#####Parse Emoji From Html 从html中解析出Emoji表情
this.$AngusVueEmoji(html)###Q&A #####Too large App.js After Build 图片过多导致打包后app.js文件过大,请设置
{
test: /\.(png)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 1000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
}#####[email protected]
