component-localbites-vuejs
Local Places Widget component.
881
| Install | |
|---|---|
npm install component-localbites-vuejs |
|
| Latest Version: | 1.1.35 |
| Vue: | 2 |
| License: | ISC |
| Last Updated: | Apr 12, 2017 |
| Links: | npm |
Component LocalBite Vuejs
Vue LocalBite Template Component
Synopsis
To deliver transit information based on location
Code Examples
Install:
npm install component-localbites-vuejs --save
Usage:
Vue.use(LocalBite, options);
or within existing components:
import LocalBite from 'component-localbites-vuejs';
export default {
components: {
LocalBite
}
}
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 |
| limit | Number |
Limits the number of items shown in the widget |
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.1.35 | 2.1.4 | ISC | |
| 1.1.34 | 2.1.4 | ISC | |
| 1.1.33 | 2.1.4 | ISC | |
| 1.1.32 | 2.1.4 | ISC | |
| 1.1.31 | 2.1.4 | ISC | |
| 1.1.30 | 2.1.4 | ISC | |
| 1.1.29 | 2.1.4 | ISC | |
| 1.1.28 | 2.1.4 | ISC | |
| 1.1.27 | 2.1.4 | ISC | |
| 1.1.26 | 2.1.4 | ISC | |
| 1.1.25 | ^2.0.1 | ISC | |
| 1.1.24 | ^2.0.1 | ISC | |
| 1.1.23 | ^2.0.1 | ISC | |
| 1.1.22 | ^2.0.1 | ISC | |
| 1.1.21 | ^2.0.1 | ISC | |
| 1.1.20 | ^2.0.1 | ISC | |
| 1.1.19 | ^2.0.1 | ISC | |
| 1.1.18 | ^2.0.1 | ISC | |
| 1.1.17 | ^2.0.1 | ISC | |
| 1.1.16 | ^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.1.1 | ^2.0.1 | ISC |