component-youtubite-vuejs
Vue Youtubite Widget Component
1,186
| Install | |
|---|---|
npm install component-youtubite-vuejs |
|
| Latest Version: | 1.2.18 |
| Vue: | 2 |
| License: | ISC |
| Last Updated: | Aug 15, 2017 |
| Links: | npm |
Component Youtubite Vuejs
Vue Youtubite Widget Component
Synopsis
To deliver Youtube videos
Code Examples
Install:
npm install component-youtubite-vuejs --save
Usage:
Vue.use(Youtubite, options);
or within existing components:
import Youtubite from 'component-youtubite-vuejs';
export default {
components: {
Youtubite
}
}
Installation
Install dependencies:
npm install
Copy .env.example to create .env:
cp .env.example .env
Copy config files over:
cp ./src/config/build.js ./src/config/development.js
Serve with hot reload at localhost:8080 (default):
npm run dev
Build for production with minification:
npm run build
Documentation
Properties
| Name | Type | Description |
|---|---|---|
| url | String |
The base url origin for api end point |
| token | String |
API access token |
| term | String |
Parameter to search for on Instagram |
| type | String |
Type of parameter being sent (Options: user,hashtag) [user] |
| limit | Number |
Limits the number of items shown in the widget |
| showTitle | Boolean |
Options to display or hide heading [true] |
| layout | String |
Layout to show the feed (Options: list, profile) [profile] |
Test
All widgets should have unit tests associated with them. To run all tests
npm test
For developments test with hot reloading at localhost:3001
npm run test:dev
To run tests with coveralls support:
npm run test:coveralls
Style Guide
All project should follow JS Style guide. Style guide is a modified version of airbnb, and should be referenced during development. Any modified rules can be found in .eslintc.json file.
To run eslint:
npm run lint
To fix eslint errors:
npm run lint:fix
Local Setup
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.18 | 2.1.4 | ISC | |
| 1.2.17 | 2.1.4 | ISC | |
| 1.2.16 | 2.1.4 | ISC | |
| 1.2.15 | 2.1.4 | ISC | |
| 1.2.14 | 2.1.4 | ISC | |
| 1.2.13 | 2.1.4 | ISC | |
| 1.2.12 | 2.1.4 | ISC | |
| 1.2.11 | 2.1.4 | ISC | |
| 1.2.10 | 2.1.4 | ISC | |
| 1.2.9 | 2.1.4 | ISC | |
| 1.2.8 | 2.1.4 | ISC | |
| 1.2.7 | 2.1.4 | ISC | |
| 1.2.6 | 2.1.4 | ISC | |
| 1.2.5 | ^2.0.1 | ISC | |
| 1.2.4 | ^2.0.1 | ISC | |
| 1.2.3 | ^2.0.1 | ISC | |
| 1.2.2 | ^2.0.1 | ISC | |
| 1.2.1 | ^2.0.1 | ISC | |
| 1.2.0 | ^2.0.1 | ISC | |
| 1.1.15 | ^2.0.1 | ISC | |
| 1.1.14 | ^2.0.1 | ISC | |
| 1.1.13 | ^2.0.1 | ISC | |
| 1.1.12 | ^2.0.1 | ISC | |
| 1.1.11 | ^2.0.1 | ISC | |
| 1.0.7 | ^2.0.1 | ISC | |
| 1.0.6 | ^2.0.1 | ISC | |
| 1.0.5 | ^2.0.1 | ISC | |
| 1.0.4 | ^2.0.1 | ISC | |
| 1.0.3 | ^2.0.1 | ISC | |
| 1.0.2 | ^2.0.1 | ISC |
Showing the latest 30 of 32. See every release on npm