Coder Social home page Coder Social logo

sara-pixie / new-angular-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.43 MB

New project to practice Angular 16; later converted to 17

Home Page: https://master--peppy-eclair-b9d0b2.netlify.app/

TypeScript 62.31% HTML 14.65% SCSS 23.05%
angular angular16 no-spec-files standalone public-apis angular-material public-api angular17

new-angular-project's Introduction

New Angular 17 Project

This project was generated with Angular CLI version 16.2.9.
After 10.11.2023 the project is upgraded to Angular 17! see Update Guide

  • ng update @angular/core@17 @angular/cli@17
  • ng update @angular/material & ng update @angular/cdk + any other commands listed when you run ng update
  • if modifying Angular Material theme/typography make sure to update those files like this
  • run ng serve to see if anything else breaks

Angular 16 code is staying on this branch and won't be updated anymore.

When adding main pages

See this commit as example of adding a main page to the platform.

About Angular 17

About Angular 16

  • Angular Blog
  • Medium blog
  • Standalone see angular.json file for schematics
  • Routes Input Binding withComponentInputBinding as part of the provideRouter in main.ts file
  • Translate Service (use npm install @ngx-translate/core --save and npm install @ngx-translate/http-loader --save commands to install, then add the TranslateModule.forRoot(translateModuleConfig) with the config const to importProvidersFrom in main.ts file). In every standalone component.ts you should import TranslateModule with imports: [TranslateModule]

Angular Material

  • Getting Started
  • Components
  • icons use <mat-icon fontIcon="iconName"></mat-icon>
  • To override material styling (because they make weird headings h1-6) create new scss file and make sure to link it in angular.json file under styles CHANGES FROM 16 to 17 see this commit!
  • Added Material Carousel see this folder for details (the code has been borrowed from another repository and tweaked to fit into Angular 16 project)

Public API

Choosen theme = Books Search with Cat Facts on home page:

Netlify build

new-angular-project's People

Contributors

sara-pixie avatar

Stargazers

 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.