您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
17 行
353 B
17 行
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>
|