GithubHelp home page GithubHelp logo

juristr / video-your-first-ng2-app Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 8.0 135 KB

Application for the video on creating your first Angular 2 app

TypeScript 68.09% JavaScript 13.78% HTML 14.22% CSS 3.91%
angular video tutorial

video-your-first-ng2-app's Introduction

Let's create your first Angular application!

For Angular version v2+

Check out the article and video on my blog:

Also, check out the corresponding free step-by-step screencast video on Youtube for this code tutorial here.

For more news and updates, make sure to follow me on Twitter ๐Ÿฆ

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

video-your-first-ng2-app's People

Contributors

angular-cli avatar juristr avatar sivabudh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

video-your-first-ng2-app's Issues

aot issue

image

I am getting this error while running npm run build.prod

Does it make sense to create a separate module for routing?

to my understanding a module encapsulates all components, directives or pipes of a feature area.
Modules also serve for being able to lazy load a part of your application.
A module for routing alone does not make sense for me, routing is part of a feature module and does not stand for it alone. If you have are not using modules then you have onle one module the root module in most cases the app.module.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.