GithubHelp home page GithubHelp logo

mono-frontend-nx's Introduction

Folder Structure

Application creation

Run the below to create an application.

npx nx g @nx/angular:app main --directory=apps/medium/<app-name> --prefix=idc

Smart Library Creation

Run the below to create an smart library.

npx nx g @nx/angular:lib smart --directory=libs/medium/<lib-name> --prefix=idc

UI Library Creation

Run the below to create an ui library.

npx nx g @nx/angular:lib ui --directory=libs/medium/<lib-name> --prefix=idc

Start the application

Run the below to start the development server. Happy coding!

npx nx run medium-todo-main:serve

Build for production

Run the below

npx nx run medium-todo-main:build

to build the application. The build artifacts are stored in the output directory (e.g. dist/ or build/), ready to be deployed.

Running lint

Run the below to run lint.

npx nx run medium-todo-main:lint

for smart and ui

npx nx run medium-todo-smart:lint
npx nx run medium-todo-ui:lint

For component Creation

npx nx g @nx/angular:component counter --directory=libs/medium/counter/smart/src/lib/entry-components --prefix=idc
npx nx g @nx/angular:component counter-page --directory=libs/medium/counter/ui/src/lib/pages --prefix=idc

Running test

Run the below to run test cases.

npx nx run medium-todo-main:test

for smart and ui

npx nx run medium-todo-smart:test
npx nx run medium-todo-ui:test

Running tasks

To execute tasks with Nx use the following syntax:


npx nx <target> <project> <...options>

You can also run multiple targets:


npx nx run-many -t <target1> <target2>

..or add -p to filter specific projects


npx nx run-many -t <target1> <target2> -p <proj1> <proj2>

Targets can be defined in the package.json or projects.json. Learn more in the docs.

Set up CI!

Nx comes with local caching already built-in (check your nx.json). On CI you might want to go a step further.

Explore the project graph

Run npx nx graph to show the graph of the workspace. It will show tasks that you can run with Nx.

Connect with us!

MonoFrontendNx

โœจ This workspace has been generated by Nx, Smart Monorepos ยท Fast CI. โœจ

Integrate with editors

Enhance your Nx experience by installing Nx Console for your favorite editor. Nx Console provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users.

mono-frontend-nx's People

Contributors

sathish-repos avatar

Watchers

 avatar

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.