data -> props

This commit is contained in:
Rich Harris 2018-11-27 10:33:58 -05:00
parent 6405c37876
commit 88a04a8007

View file

@ -2,7 +2,7 @@ import App from './App.html';
const app = new App({
target: document.body,
data: {
props: {
name: 'world'
}
});