component-instabite-vuejs v2.1.6
Component Instabite Vuejs
Vue Instabite Widget Component
Synopsis
To deliver Instagram feed
Code Examples
Install:
npm install component-instabite-vuejs --saveUsage:
Vue.use(Instabite, options);or within existing components:
import Instabite from 'component-instabite-vuejs';
export default {
components: {
Instabite
}
}Installation
Install dependencies:
npm installCopy .env.example to create .env:
cp .env.example .envCopy config files over:
cp ./src/config/build.js ./src/config/development.jsServe with hot reload at localhost:8080 (default):
npm run devBuild for production with minification:
npm run buildDocumentation
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 testFor developments test with hot reloading at localhost:3001
npm run test:devTo run tests with coveralls support:
npm run test:coverallsStyle 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 lintTo fix eslint errors:
npm run lint:fixLocal Setup
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago