Skip to content

wanoo21/try-ng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TryNg

This is a repo to try out new features of Angular. It uses Nx as a build system and monorepo manager.

PS: If you want to add new features, please create a new branch off of main and open a PR.

PPS: If you find this repo useful, please star it ⭐️

Kudos to https://github.com/spartan-ng/spartan for making this possible!

Run tasks

Before running any tasks, install the dependencies with:

pnpm install

Then below are all NX commands you can use to run tasks. 👇


To run the dev server for your app, use:

pnpx nx serve try-ng

To create a production bundle:

pnpx nx build try-ng

To see all available targets to run for a project, run:

pnpx nx show project try-ng

These targets are either inferred automatically or defined in the project.json or package.json files.

More about running tasks in the docs »

Add new projects

While you could add new projects to your workspace manually, you might want to leverage Nx plugins and their code generation feature.

Use the plugin's generator to create new projects.

To generate a new application, use:

pnpx nx g @nx/angular:app demo

To generate a new library, use:

pnpx nx g @nx/angular:lib mylib

You can use pnpx nx list to get a list of installed plugins. Then, run pnpx nx list <plugin-name> to learn about more specific capabilities of a particular plugin. Alternatively, install Nx Console to browse plugins and generators in your IDE.

About

Try out new Angular features in a nice workspace.

Topics

Resources

Stars

Watchers

Forks