25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
712 B

4 년 전
import "/client/templates/loading.html"
4 년 전
import "/client/templates/user_page.html"
4 년 전
import "/client/templates/not_found.html"
4 년 전
import "/client/templates/account/login.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'})
4 년 전
// Router.route("/login", {name: 'loginPage'})
AccountsTemplates.configureRoute('signIn');
AccountsTemplates.configureRoute('signUp');
4 년 전
Router.route("/user/:_id", {
4 년 전
name: 'userPage'
4 년 전
})
4 년 전
Router.onBeforeAction('dataNotFound',{only: 'userPage'})