Closed mhamri closed 5 years ago
Add NbSidebarModule
into app.module.ts.
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
NbThemeModule.forRoot({name: 'default'}),
NbLayoutModule,
NbActionsModule,
NbSidebarModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
@maihannijat thanks, yup i figured it out, but the whole point is the documentation is not complete, i can make a pull request and add the stuff if someone point me to the right repository
@Tibing i pulled the nebular master branch and did
git clone https://github.com/akveo/nebular.git
npm install
npm start
and this is the output
may i know what should i expect from default nebular/theme? atm the documentation can't draw a line between ngx-admin and nebular/theme? am i getting a theme or only component or anything else?
@mhamri, @nebular/theme
contains all code related to theming and all components provided by Nebular. ngx-admin
is a showcase application built with Nebular and provide ready to go application structure for your projects.
If you want to contribute to our documentation you need to check how Nebular organized. Required information may be found in the CONTRIBUTING.md and DEV_DOCS.md.
Regarding the last question. You ran Nebular playground. Please, check package.json
scripts section.
@Tibing thanks, it's valuable information, i will look into the contribute.md, regard the plaground. where can i see any documentation about it? or about the other commands?
btw after running the playground i got this error:
> nebular@3.0.0 start:prod C:\Users\cjp-dev\source\repos\Testing\nebular master\nebular
> npm run start -- --prod --aot "playground-wp"
> nebular@3.0.0 start C:\Users\cjp-dev\source\repos\Testing\nebular master\nebular
> ng serve "--prod" "--aot" "playground-wp"
Unknown option: 'playground-wp'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nebular@3.0.0 start: `ng serve "--prod" "--aot" "playground-wp"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nebular@3.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\cjp-dev\AppData\Roaming\npm-cache\_logs\2018-11-19T09_39_10_121Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nebular@3.0.0 start:prod: `npm run start -- --prod --aot "playground-wp"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nebular@3.0.0 start:prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\cjp-dev\AppData\Roaming\npm-cache\_logs\2018-11-19T09_39_10_230Z-debug.log
am i missing anything?
i followed step by step the documentation
https://akveo.github.io/nebular/docs/guides/add-into-existing-project#adding-into
but i'm getting error