您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
|
|
|
<template name="mainLayout">
|
|
|
|
<head>
|
|
|
|
<title>myapp</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<!-- {{> loginButtons}}-->
|
|
|
|
{{> atNavButton}}
|
|
|
|
<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>
|