Coder Social home page Coder Social logo

actionanand / ng-template-depth Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 559 KB

This is a hobby Angular Repo for ng-template in depth using PNPM

Home Page: https://actionanand.github.io/ng-template-depth/

JavaScript 3.64% TypeScript 67.98% HTML 8.53% SCSS 19.86%
angular pnpm ng-template angular13

ng-template-depth's Introduction

NgTemplateDepth

This project was generated with Angular CLI version 13.1.0. with pnpm node package manager

What to do after cloning?

pnpm install
  • If pnpm is not installed,
npm install -g pnpm

How to create project using pnpm

ng new my-new-pnpm-project --skip-install

Development server

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

How to deploy to Github pages, if pnpm is used

  1. Add 'angular-cli-ghpages' under dev dependencies as below
"angular-cli-ghpages": "^1.0.0",
  1. Add the following json property to angular.json file under architect
  "deploy": {
    "builder": "angular-cli-ghpages:deploy"
  }
  1. Install all the missing packages
pnpm i
  1. Deploy the app
ng deploy --base-href=/ng-template-depth/
  • ng-template-depth is the name of the repo.

Resources

  1. TemplateRefs are Angular’s Render Props

  2. Build a Toggle Component - part 1

  3. Write Compound Components - part 2

  4. Communicate Between Components Using Dependency Injection - part 3a

ng-template-depth's People

Contributors

actionanand avatar anandraja-tech avatar

Stargazers

 avatar

Watchers

 avatar  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.