Comments (1)
解决方法如下
/albedo-boot-ui-angular/src/main/webapp/app/theme/layouts/layout.module.ts
添加如下
import { BreadcrumbComponent } from './breadcrumb/breadcrumb.component'
具体代码如下
`import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'
import { LayoutComponent } from './layout/layout.component'
///Users/haiming_yu/IdeaProjects/deal-albedo/albedo-boot-ui-angular/src/main/webapp/app/theme/layouts/breadcrumb/breadcrumb.component.ts
import { BreadcrumbComponent } from './breadcrumb/breadcrumb.component'
// import { AsideLeftMinimizeDefaultEnabledComponent } from '../pages/aside-left-minimize-default-enabled/aside-left-minimize-default-enabled.component'
import { HeaderNavComponent } from './header-nav/header-nav.component'
import { DefaultComponent } from '../pages/default/default.component'
import { AsideNavComponent } from './aside-nav/aside-nav.component'
import { FooterComponent } from './footer/footer.component'
import { QuickSidebarComponent } from './quick-sidebar/quick-sidebar.component'
import { ScrollTopComponent } from './scroll-top/scroll-top.component'
import { TooltipsComponent } from './tooltips/tooltips.component'
import { CommonModule } from '@angular/common'
import { RouterModule } from '@angular/router'
import { HrefPreventDefaultDirective } from '../../directives/href-prevent-default.directive'
import { UnwrapTagDirective } from '../../directives/unwrap-tag.directive'
@NgModule({
declarations: [
LayoutComponent,
BreadcrumbComponent,
// AsideLeftMinimizeDefaultEnabledComponent,
HeaderNavComponent,
DefaultComponent,
AsideNavComponent,
FooterComponent,
QuickSidebarComponent,
ScrollTopComponent,
TooltipsComponent,
HrefPreventDefaultDirective,
UnwrapTagDirective,
],
exports: [
LayoutComponent,
BreadcrumbComponent,
// AsideLeftMinimizeDefaultEnabledComponent,
HeaderNavComponent,
DefaultComponent,
AsideNavComponent,
FooterComponent,
QuickSidebarComponent,
ScrollTopComponent,
TooltipsComponent,
HrefPreventDefaultDirective,
],
imports: [
CommonModule,
RouterModule,
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class LayoutModule {
}
albedo-boot-ui-angular/src/main/webapp/app/theme/pages/modules/admin/password/password.module.ts 修改如下 添加 import { PasswordStrengthBarComponent } from "./password-strength-bar.component"; 具体代码如下
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'
import { AlbedoBootSharedModule } from "../../../../../shared/shared.module";
import { CommonModule } from "@angular/common";
import { RouterModule } from "@angular/router";
import { LayoutModule } from "../../../../layouts/layout.module";
import { routeChilds } from "../../../../api.routing.module";
import { PasswordComponent } from "./password.component";
import { PasswordStrengthBarComponent } from "./password-strength-bar.component";
import { PasswordService } from "./password.service";
const routesPassword = [
{
path: 'sys/password',
component: PasswordComponent
}
];
routeChilds.push(...routesPassword)
@NgModule({
imports: [
AlbedoBootSharedModule,
CommonModule,
RouterModule,
LayoutModule
], exports: [
PasswordComponent,
PasswordStrengthBarComponent,
], entryComponents: [
PasswordComponent,
PasswordStrengthBarComponent,
], declarations: [
PasswordComponent,
PasswordStrengthBarComponent,
], providers: [
PasswordService,
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class PasswordModule {
}
`
from albedo.
Related Issues (20)
- 生成代码模板选择用户角色选择 报错异常如下 HOT 1
- com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
- 用户登录修改密码异常
- 能添加tab标签功能吗 HOT 1
- ERROR in src/main/webapp/app/shared/tags/ico.show.component.html(2,63): : Property 'searchItem' does not exist on type 'AlbIcoShowComponent'.
- 生成代码 模块 字段 没有boolean类型选项
- master-vue branch mvn clean install error HOT 2
- master-vue branch mvn clean install FileNotFoundException HOT 1
- angular ui打包 发布 接口请求不到
- 建议 区域选择 id 采用 高德地图编号 方便 地图 开发
- 生成的vendor.js文件太大
- 新版本sql语句内的别名group和sql关键字group冲突报错了 HOT 1
- 后台调试启动问题 HOT 1
- [err] albedo-boot-ui-vue>npm run dev HOT 1
- 代码生成器的模板(viewIndex.xml)问题 HOT 1
- albedo-ui 已经完整引入了 ElementUI 但是我发现并不能在页面中使用el-calendar 组件
- 本项目借鉴其他优秀开源项目
- 功能权限没问题,数据权限怎么区分 HOT 1
- 你好,登录流程设计思路给说明一下
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from albedo.