# element-starter

> A Vue.js project

Latest version **1.0.0-gps.1** (published 2017-11-24) · 0 weekly downloads

## Install

```sh
npm install element-starter
pnpm add element-starter
yarn add element-starter
bun add element-starter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-gps.1 |
| Published | 2017-11-24 |
| First published | 2017-11-24 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 14 |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| Author | yi.shyang@ele.me |
| Maintainers | cooperl |

## Links

- npm: https://www.npmjs.com/package/element-starter
- npm.io page: https://npm.io/package/element-starter

## Dependencies (14)

- [vue](https://npm.io/package/vue.md) ^2.5.3
- [axios](https://npm.io/package/axios.md) ^0.16.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [moment](https://npm.io/package/moment.md) ^2.18.1
- [vue-i18n](https://npm.io/package/vue-i18n.md) ^7.3.1
- [element-ui](https://npm.io/package/element-ui.md) ^2.0.0
- [vue-router](https://npm.io/package/vue-router.md) ^3.0.1
- [keycloak-js](https://npm.io/package/keycloak-js.md) ^3.3.0
- [service-ligne-v1](https://npm.io/package/service-ligne-v1.md) 0.0.x
- [service-usine-v1](https://npm.io/package/service-usine-v1.md) 0.0.x
- [service-atelier-v1](https://npm.io/package/service-atelier-v1.md) 0.0.x
- [service-machine-v1](https://npm.io/package/service-machine-v1.md) 0.0.x
- [service-personnel-v1](https://npm.io/package/service-personnel-v1.md) 0.0.x
- [service-application-v1](https://npm.io/package/service-application-v1.md) 0.0.x

## Recent versions

- 1.0.0-gps.1 (latest) — 2017-11-24

## README

# Element-UI Admin App

## Install Steps
``` bash
# Clone SI Platform repository
$ git clone http://devtools.cooperl.net/gitlab/si-services/platform.git ./si-platform
$ cd metier/industrie/structure/ui/src/main/client

# Download element-starter Vuejs/Element starter
$ wget https://github.com/ElementUI/element-starter/archive/master.zip
$ unzip master.zip
$ cp element-starter-master/* .
$ rm -rf element-starter-master
```

## Build Setup

``` bash
# install dependencies
$ npm install

# serve with hot reload at localhost:8081
$ npm run dev

# build for production with minification
$ npm run build
```

## Testing
1. append node. level 2 / 3 / 4
    
1. OutilsProduction | Ajouter une usine alors qu'on est déjà en train d'en créer une.
    1. OK : Un message d'avertissement s'affiche "Veuillez valider ou annuler l'ajout d'un nouvel élément"
1. OutilsProduction | Annuler un ajout en cours
    1. OK : la ligne disparait




## Application
### Element
#### Tree Component
``` json
# Tree array example
[{
    id: 'usine_1',
    label: 'Lamballe',
    children: [{
        id: 'atelier_1',
        label: 'Atelier 1',
        children: [{
            id: 'ligne_1',
            label: 'Ligne 1',
            children: [
                {
                    id: 'machine_4',
                    label: 'Machine 1',
                    children: []
                }
            ]
        }]
    }]
}]
```

---
_Source: https://npm.io/package/element-starter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
