1.0.2 • Published 9 years ago
component-footer-vuejs v1.0.2
Component Footer Vuejs
Vue Widget Footer Component
Synopsis
Experience footer component. Supports links, logo, and copyright
Download
Get repository:
git clone https://github.com/BlueBiteLLC/component-template-vuejs.git {{ widget-name }}Set new repository:
git remote set-url origin {{ widget repo url }}Initial Commit:
git push -u origin masterInstallation
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 |
|---|---|---|
| items | [{text: string, link: string}] | footer link |
| slot('logo') | Vue~Component | logo |
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:fix