vue组件编写 组件库_作为vue组件编写的简单Reddit客户端

vue组件编写 组件库

Vuereddit (vuereddit)

A simple reddit client written as a vue component.

作为vue组件编写的简单Reddit客户端。

vuereddit

用法 (Usage)

Install the module first:

首先安装模块:

npm install vuereddit

And use it in your vue application:

并在您的vue应用程序中使用它:

<template>
  <subreddit name='videos'></subreddit>
</template>

<script>
import 'vuereddit/dist/vuereddit.css'
import Subreddit from 'vuereddit'

export default {
  name: 'App',
  components: {
    Subreddit
  }
}
</script>

This should give you a very simple reddit viewer:

这应该给您一个非常简单的reddit查看器:

vueredditx

为什么? (Why?)

I love reddit, obviously. I also want to build more tools on top of reddit, so I decided to make this preview component.

很明显,我喜欢reddit。 我还想在reddit之上构建更多工具,因此我决定制作此预览组件。

Stay tuned for more.

敬请期待更多。

In the mean time I have also recorded development of this library on video. The total time spent here was around 7 hours. I compressed each session to a 30-60 seconds video, where lots of screens are flashing, except maybe last 15 seconds, where the final result of work is visible.

同时,我还通过视频记录了该库的开发。 在这里花费的总时间约为7个小时。 我将每个会话压缩为一个30-60秒的视频,该屏幕上闪烁着许多屏幕,除了最后15秒外,最后的工作可见。

翻译自: https://vuejsexamples.com/a-simple-reddit-client-written-as-a-vue-component/

vue组件编写 组件库

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值