您最多能選擇 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'})