Create angular design without using angular-cli

Asked

Viewed 355 times

4

Good night, my dear. Can someone give me instructions (or links to articles) on how to create a project at angular 4 from scratch, without using angular-cli?

I am a language beginner and need to learn how to create an application without -cli.

Thank you.

  • 2

    If I understood basically, something very similar would be something like this https://mgechev.github.io/angular-seed/

  • why not cli? And the correct form according to the documentation of how to create a project.

  • It’s not just manually creating each file?

  • the recommended and create with angular cli as @Andersoncarloswoss said, however there are projects without the angular cli that in my view is not recommended for those who are started

  • Exactly that, @Marcelobatista! Thank you very much! =)

1 answer

4


You can use this example angular Seed to implement the settings, however the most sensible and assess if really worth all this effort (or if it is just out of curiosity), and if it is a small project, the recommended and uses the angular cli even as mentioned in the comments.

To run the angular design Seed and required these settings:

$ git clone --depth 1 https://github.com/mgechev/angular-seed.git
$ cd angular-seed

# install the project's dependencies
$ npm install
# fast install (via Yarn, https://yarnpkg.com)
$ yarn install  # or yarn

# watches your files and uses livereload by default
$ npm start
# api document for the app
# npm run build.docs

# generate api documentation
$ npm run compodoc
$ npm run serve.compodoc


# to start deving with livereload site and coverage as well as continuous testing
$ npm run start.deving

# dev build
$ npm run build.dev
# prod build
$ npm run build.prod

# dev build of multiple applications (by default the value of --app is "app")
$ npm start -- --app baz
$ npm start -- --app foo
$ npm start -- --app bar

Browser other questions tagged

You are not signed in. Login or sign up in order to post.