Thursday, January 25, 2018
ASP.NET Core 2.0 & SignalR Core
Nice sample which works !!!
ASP.NET Core 2.0 & SignalR Core
Tuesday, December 12, 2017
Vues JS - POI - JSX
POI is a nice tool to create VueJS app without worrying about webpack configuration
Simply add this code in index.js file and run poi index.js
Simply add this code in index.js file and run poi index.js
import Vue from "vue" let data = { nom: 'Paul', age: 12 }; function mycomp (m) { return ( Vue.component('m-c', { render() { return <div>Hello {m}</div> } }) ) } let template = (h, { nom, age }) => <div style='color:red;'> <m-c></m-c> <div>Hello { nom } you are { parseInt(age) * 2 }</div> </div> new Vue({ el: "#app", render(h) { return template(h, data) }, components: [mycomp('hal')] })
Subscribe to:
Posts (Atom)