wghglory / nx-clarity-template

The most basic nx clarity tailwind template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seed

How to generate this repo?

  1. npx create-nx-workspace@15.6.1
  2. repository name: seed; application name: seed
  3. add clarity
  4. generate tailwind
  5. add @nrwl/express, and generate api express server
  6. generate shared models: nx generate @nrwl/workspace:library models --skipBabelrc --directory=shared --no-standaloneConfig --testEnvironment=node --unitTestRunner=none
  7. generate feature lib: npx nx generate @nrwl/angular:library product --style=scss --directory=feature --changeDetection=OnPush --inlineStyle --lazy --routing --standalone

What's included?

  • clarity ng 15
  • tailwind
  • express mock server

For what?

  • POC
  • Reproduce issues
  • Use this basic template to create advanced templates

TODO after download this template

Replace seed to your project name.

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Development server

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

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

About

The most basic nx clarity tailwind template


Languages

Language:TypeScript 54.0%Language:HTML 25.8%Language:SCSS 11.2%Language:JavaScript 8.9%Language:Shell 0.2%