https://github.com/kirandash/nggallery
ngGallery is an Angular 4 application with gallery images in it.
https://github.com/kirandash/nggallery
angular
Last synced: about 2 months ago
JSON representation
ngGallery is an Angular 4 application with gallery images in it.
- Host: GitHub
- URL: https://github.com/kirandash/nggallery
- Owner: kirandash
- Created: 2017-08-02T06:07:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-02T11:29:48.000Z (almost 9 years ago)
- Last Synced: 2025-04-07T15:11:52.876Z (about 1 year ago)
- Topics: angular
- Language: TypeScript
- Size: 626 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gallery
node -v
tsc -v
ng -v
mkdir ng-gallery
cd ng-gallery
ng new gallery
cd gallery
ng serve
npm install ng2-bootstrap bootstrap --save (Deprecated npm install ngx-bootstrap bootstrap --save)
import { AlertModule } from 'ng2-bootstrap/ng2-bootstrap';
Add AlertModule to imports
Add "../node_modules/bootstrap/dist/css/bootstrap.min.css" to styles in angular-cli.json
Restart with ng server
cd src/app
mkdir navbar
touch navbar.component.html navbar.component.css navbar.component.ts
cd src/app
mkdir gallery
touch gallery.component.html gallery.component.css gallery.component.ts
touch image-detail.component.ts image-detail.component.html image-detail.component.css
## Move file to Production
ng build --prod