您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
532 B

4 年前
import "/client/templates/loading.html"
4 年前
import "/client/templates/user_page.html"
4 年前
import "/client/templates/not_found.html"
4 年前
Router.configure({
layoutTemplate: 'mainLayout',
loadingTemplate: 'loading',
4 年前
notFoundTemplate: 'notFound',
4 年前
waitOn: function () {
return Meteor.subscribe("url_res")
}
})
4 年前
// Meteor.subscribe('user_res')
4 年前
Router.route("/")
Router.route("/nelson", {name: 'mainItem'})
Router.route("/user/:_id", {
4 年前
name: 'userPage'
4 年前
})
4 年前
Router.onBeforeAction('dataNotFound',{only: 'userPage'})