1.0.13-gps.4 • Published 7 years ago
service-personne-v1 v1.0.13-gps.4
service-personne-v1@1.0.13-gps.4
Building
To build an compile the typescript sources to javascript use:
npm install
npm run build
publishing
First build the package than run npm publish
consuming
navigate to the folder of your consuming project and run one of next commando's.
published:
npm install service-personne-v1@1.0.13-gps.4 --save
unPublished (not recommended):
npm install PATH_TO_GENERATED_PACKAGE --save
In your Vuejs2 bootstrap:
import ligneV1 from 'service-ligne-V1'
...
Vue.use(ligneV1, 'http://127.0.0.1:8181');
In your components for API:
import ligneV1 from 'service-ligne-V1'
...
let details = lignev1.createLigneDetails()
details.label = 'test'
lignev1.createUsingPOST3(details).then(() => {
lignev1.getAllUsingGET3().then(data => console.log(data))
})
In your compoennts for topic listener:
import lignev1 from 'service-ligne-v1'
export default {
...
created: function () {
this.$topics.subscribe(lignev1.registerTopicTerminee(event => {
console.log(event)
}))
},
methods: {
uneMethode: function() {
this.subscribeTopic(lignev1.registerTopicTermineeFor(23, event => {
console.log(event);
}
},
uneAutreMethode: function {
this.unsubscribeTopic(lignev1.unregisterTopicTermineeFor(23));
}
}
1.0.13-gps.4
7 years ago
1.0.13-gps.3
7 years ago
1.0.13-gps.2
7 years ago
1.0.13-gps.1
7 years ago
1.0.13
7 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
7 years ago
1.0.9
7 years ago
1.0.8-gps.1
7 years ago
1.0.8
7 years ago
1.0.7-gps.4
7 years ago
1.0.7-gps.3
7 years ago
1.0.7
8 years ago
1.0.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.43
8 years ago
0.0.42
8 years ago
0.0.41
8 years ago
0.0.40
8 years ago
0.0.39
8 years ago
0.0.35-gps.1
8 years ago
0.0.38
8 years ago
0.0.37
8 years ago
0.0.35
8 years ago
0.0.34
8 years ago
0.0.33
8 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.27
8 years ago
0.0.26
8 years ago