26 lines
716 B
JavaScript
26 lines
716 B
JavaScript
/* (1) Imports
|
|
---------------------------------------------------------*/
|
|
/* (1) NPM libs */
|
|
import Vue from 'vue'
|
|
|
|
/* (2) Vues */
|
|
import wrapper_vue from '../vue/wrapper.vue'
|
|
|
|
/* (3) Data */
|
|
require('../data/common');
|
|
require('../data/home');
|
|
|
|
|
|
|
|
|
|
/* (2) Initialisation
|
|
---------------------------------------------------------*/
|
|
/* (1) Render view */
|
|
new Vue({
|
|
el: '#main-vue',
|
|
render: h => h(wrapper_vue)
|
|
});
|
|
|
|
|
|
// popup test
|
|
popup.ask({title: 'Un exemple de popup', content: "Un <b>PopUp</b> <i>sauvage</i> apparait !!<br>contenu HTML quelconque ...<br> une question, validation de suppression, etc.", action: 'Bouton d\'action', 'type': 'search' }, function(e){ console.log("Resultat Popup: "+!!e); }); |