25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
353 B
17 lines
353 B
<template name="mainLayout">
|
|
<head>
|
|
<title>myapp</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Welcome to Meteor!</h1>
|
|
<a href="{{pathFor "mainItem"}}">test url</a>
|
|
{{> hello}}
|
|
{{> yield}}
|
|
</body>
|
|
</template>
|
|
|
|
<template name="hello">
|
|
<button>Click Me</button>
|
|
<p>You've pressed the button {{counter}} times.</p>
|
|
</template>
|