腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
0
回答
Angular
2
RouteConfig
我想像这样动态创建
RouteConfig
{ path: route.name , component: route.component }
浏览 0
提问于2017-06-12
得票数 0
1
回答
角度
2
:带乘法元件的路由器出口
、
嘿,各位,我有个问题要问
2
角路由:import {Component, provide, bootstrap} from '
angular
2
/
angular
2
'; ROUTER_PRIMARY_COMPONENT, LocationStrategy,
RouteConfig
</div&
浏览 2
提问于2016-08-27
得票数 0
回答已采纳
1
回答
在同一位置显示来自不同组件的模板
我正在尝试将应用程序的管理重写为
Angular
2
。我有3个组件(AppComponent、SystemComponent和ShopComponent)。AppComponent:import {
RouteConfig
, Router, ROUTER_DIRECTIVES} from '
angular
2
/router'; impo
浏览 3
提问于2016-01-16
得票数 1
回答已采纳
2
回答
如何在
angular
2
中通过输入脚本更改路由器?
、
例如,我使用如下的路由器链接:但是如何通过typescript将路由器更改为/start?
浏览 5
提问于2015-07-23
得票数 1
1
回答
Angular
2
$location.search()等效(设置查询参数)
、
在
angular
1中,我使用$location.search(name, value)来简单地设置change上的seach参数。现在,我想在
angular
2
中得到类似的东西。 还是说是错的?
浏览 2
提问于2016-04-18
得票数 5
2
回答
从带子的父母处获得routerParams发送
、
、
import {Component} from "
angular
2
/core";import {Router,RouteParams} from "
angular
2
/router"; import {Orga
浏览 0
提问于2016-03-07
得票数 1
回答已采纳
2
回答
Angular
2
如何将路由参数绑定到变量
、
2
Boilerplate</h1> "): AppComponent@3:11import {Component} from '
angular
2
/core'; import {ROUTER_DIRECT
浏览 2
提问于2016-05-18
得票数 2
回答已采纳
3
回答
组件-角
2
路由错误
、
、
bootstrap(LoginComponent, []); {path: '/login从我的login.component.ts文件import {FORM_DIRECTIVES, FormBuilder, ControlGroup, Validators} from '
a
浏览 3
提问于2016-01-08
得票数 2
2
回答
带有路由器的角
2
测试-无法解析“路由器”的所有参数
、
{ ... }import {inject,beforeEachProviders,} from "
angular
2
/testing"; import {FormBuilder} from '
angular
2
/common'
浏览 5
提问于2016-01-28
得票数 2
1
回答
为什么路由不起作用?
、
我试图通过
angular
2
中的新路由来完成向导import {Component,ViewEncapsulation} from '
angular
2
/core';import {WizardCmp} from '.wizard.ts import {Com
浏览 1
提问于2016-02-19
得票数 2
回答已采纳
1
回答
角
2
路由确实按预期工作。
、
、
,到目前为止,这是我编写的代码:import {Component} from '
angular
2
/core'; selector: 'login', <h1>Login page</h1>{Compo
浏览 3
提问于2016-06-03
得票数 0
回答已采纳
1
回答
无法使用加载的组件angularjs
2
下面是我的应用程序代码:import { ROUTER_PROVIDERS,Router, RouterOutlet,
RouteConfig
,RouterLink, Location} from '
angular
2
/router'; import { About } from/
浏览 0
提问于2015-11-13
得票数 0
1
回答
如何在
Angular
中包含带有指令的导航栏?
有没有一种“正确”的方法将导航栏添加到你的
Angular
应用程序中?我有一个3组件的应用程序,在那里我希望所有的页面显示在顶部的导航栏。更新:import { Component } from '
angular
2
/core'; import {TodoSe
浏览 1
提问于2016-03-27
得票数 2
1
回答
angular
2
销毁出口内容并重新加载
、
、
在
angular
2
中,有没有一种方法可以销毁在路由器路由中自动创建的组件?
浏览 0
提问于2016-11-25
得票数 1
1
回答
angular
2
2.0.0-rc.1
RouteConfig
装饰器似乎消失了...?
、
@
RouteConfig
似乎已经从
angular
2
2.0.0-rc.1中消失了,@
RouteConfig
在@
angular
/router-deprecated包中,在网站上记录的api上的idem,
浏览 4
提问于2016-05-07
得票数 4
2
回答
不调用
angular
2
routerOnActivate
、
、
/node_modules/
angular
2
/core.d.ts" /> import {Component, provide} from '
angular
2
/core
浏览 4
提问于2016-04-16
得票数 0
回答已采纳
1
回答
子路由
Angular
2
在没有useAsDefault的情况下不能工作: true
在下面的
angular
2
路由程序中,如果删除useAsDefault: true并获得以下错误,则路由无法工作。 import {Component} from '
angular
2
/core'; import {
RouteConfig
, ROUTER_DIRECTIVES} from '
浏览 1
提问于2016-04-13
得票数 2
回答已采纳
1
回答
角4-在重新访问时不要重新加载组件
、
、
1)地图
2
)搜索3)用户配置文件示例截图附呈,以供参考。
浏览 0
提问于2017-12-18
得票数 3
回答已采纳
2
回答
角
2
-是否可以将我的路由存储在另一个文件中并将它们导入到app.ts文件中(因为随着时间的推移,路由将建立起来)?
、
角
2
-是否可以将我的路由存储在另一个文件中并将它们导入到app.ts文件中(因为随着时间的推移,这些路由将建立起来) import{Router, ROUTER_BINDINGS, RouterOutlet,
R
浏览 6
提问于2015-11-08
得票数 2
回答已采纳
2
回答
路由器中的
RouteConfig
-已在角度
2
中删除,正在为重定向路由添加一些额外的'%E
2
%80%9C‘双左引号
、
、
、
我有一个
angular
2
应用程序(使用
Angular
RC1构建),它使用RC1的路由器废弃模块中的
RouteConfig
类。import {Component} from "@
angular
/core"; @
Rout
浏览 2
提问于2016-05-27
得票数 0
点击加载更多
相关
资讯
Angular 2+Components&Libraries
Angular航海日志 D2.初识TypeScript
利用WebStorm 构建Angular2项目
Angular 的 Material Design 风格框架 material2 6.3.2
AngularJS和Angular 2+:一个详细的比较
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券