Skip to content

Muldoser/ng-onepage

Repository files navigation

NgOnepage

A simple Angular starting point for onepagers.

Package manager

In this project we use yarn to manage the node modules. If you rather use good 'ole npm, you need to change some things in the package.json and use npm install instead of yarn.

Get started

This Angular project was generated with Angular CLI version 1.7.4.

## Used to create this project
$ ng new ng-onepage -it -p op --routing -si --style scss -v
# Development server
# For a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
$ ng serve
# Or
$ yarn start

# Code scaffolding
# To generate a new component.

$ ng generate component component-name
# You can also use
$ ng generate directive|pipe|service|class|guard|interface|enum|module

# Build
# To build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
$ ng build

# Running unit tests
# To execute the unit tests via Karma.
$ ng test

# Running end-to-end tests
# To execute the end-to-end tests via Protractor.
$ ng e2e 

# Further help
# To get more help on the Angular CLI use
$ ng help

More info

Next steps

  • Menu component
  • Header component
  • Section component
  • Footer component
  • Smooth scroll