Giter Club home page Giter Club logo

Comments (4)

strictd avatar strictd commented on May 20, 2024 2

Even I have moved to the angular-cli .. it's pretty sweet these days.

from angular-webpack.

mcescalante avatar mcescalante commented on May 20, 2024 1

Hello! This repo is outdated and so using code from here with a newer version of Angular will almost positively break with newer version of Angular - it hasn't been updated in favor of using Angular CLI.

I would highly suggest using Angular CLI to create, serve, build, and add things to your application. It will bootstrap and take care of all the webpack, tooling, and best practices and let you just write your Angular app. Below is a simple overview of how you can get started in less than 5 minutes using the CLI:

  1. npm i -g @angular/cli - Installs Angular CLI globally on your computer
  2. ng new my-project-name - Creates a new Angular project named "my-project-name", installs npm dependencies automatically for you
  3. cd my-project-name - cd into the project that was created
  4. ng serve - Serve the project on http://localhost:4200

Then, after you've got your project going, you can easily add new components, services, etc:

ng g component my-new-component Creates a new component with all of the files/structures you need in your project.

See the repository https://github.com/angular/angular-cli (linked above as well) for more information and better docs.

from angular-webpack.

mcescalante avatar mcescalante commented on May 20, 2024 1

Even I have moved to the angular-cli .. it's pretty sweet these days.

Yeah, plus if you want to do "your own thing" you can still start out with the CLI and then just "eject" it so that you can manage your own stuff (I don't do this lol)

from angular-webpack.

athempeed avatar athempeed commented on May 20, 2024

Thanks for the reply to you guys. yes you people are correct its old one I created the new web.config.js file and then it worked fine.
this is the working repo: https://github.com/Donjay2101/Angualr5
Thanks for the help guys.

from angular-webpack.

Related Issues (20)

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.