14 created: async function() {
15 //console.log("@variants/" + this.vname + ".js");
16 // En fait "V" est une variable globale, donc juste "V = vModule.V;"
17 const vModule = await import("../variants/" + this.vname + ".js");
19 var instance = new V();
21 //import("/src/variants/" + this.vname + ".js")
25 //console.log(this.$variants);
27 // TODO: components which need to access user.name and user.id should
28 // import a module with a function to get this from localStorage (or anonymous)
36 <!-- Add "scoped" attribute to limit CSS to this component only -->
37 <style scoped lang="scss">
42 list-style-type: none;
46 display: inline-block;