2.0.1 • Published 7 years ago

component-ui-modal-vuejs v2.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

Component Modal Vuejs

Vue Widget Template Component

Coverage Status

Synopsis

A modal widget

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 master

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

Documentation of options for the widget go here.

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