Skip to content

Esenor/VueDemoSearch

Repository files navigation

VueDemoSearch VueDemoSearch

Liens utiles

Guide

API

Examples

Installation

  1. Build Docker image docker-compose -f docker/docker-compose_dev.yml build
  2. Up docker container docker-compose -f docker/docker-compose_dev.yml up -d

How to use

NPM CLI

Inside the container


Add a Component

Add an empty component and a spec unit test

npm run add-component ComponentName

This command add the following files:

  • /src/components/ComponentName.vue
  • /test/unit/ComponentName.spec.js

Add a Widget

Add an empty widget and spec unit test

npm run add-widget WidgetName

This command add the following files:

  • /src/components/widgets/WidgetName.vue
  • /test/unit/WidgetName.spec.js

Build the project

Run webpack build project

npm run build

Add compiled files in /dist


Run unit test in console

npm run unit

Run unit test in Junit file

npm run testJunit

Junit file in:

  • /test/test-results.xml

About

Demo of VueJs 2 application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published