data -> props
This commit is contained in:
parent
6405c37876
commit
88a04a8007
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import App from './App.html';
|
||||||
|
|
||||||
const app = new App({
|
const app = new App({
|
||||||
target: document.body,
|
target: document.body,
|
||||||
data: {
|
props: {
|
||||||
name: 'world'
|
name: 'world'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue