planetoftheweb / learnangular5 Goto Github PK
View Code? Open in Web Editor NEWRepository for my course Learn Angular on LinkedIn Learning and Lynda.com
Repository for my course Learn Angular on LinkedIn Learning and Lynda.com
The instructor in this's course used an old way to add (input) syntax, this's way not working in the new version of angular. it's updated
@Component({
selector: 'app-artist-details',
templateUrl: './artist-details.component.html',
inputs: ['artist']
})
export class ArtistDetailsComponent {
@Input('artist') artist: any;
}
you can learn more about input
and component
in angular docs
Using artist.name
in artist-items.component.html
will generate an error. Check out the hack I found on my GitHub account.
Not working with Angular CLI: 13.1.2 & Node: 16.13.1
$ git branch
* 01_03
master
$ ls -ltr
total 712
-rw-r--r-- 1 n0g00hy staff 1029 Jan 8 14:08 README.md
drwxr-xr-x 5 n0g00hy staff 160 Jan 8 14:08 e2e
-rw-r--r-- 1 n0g00hy staff 923 Jan 8 14:08 karma.conf.js
-rw-r--r-- 1 n0g00hy staff 336962 Jan 8 14:08 package-lock.json
-rw-r--r-- 1 n0g00hy staff 1318 Jan 8 14:08 package.json
-rw-r--r-- 1 n0g00hy staff 722 Jan 8 14:08 protractor.conf.js
drwxr-xr-x 14 n0g00hy staff 448 Jan 8 14:08 src
-rw-r--r-- 1 n0g00hy staff 363 Jan 8 14:08 tsconfig.json
-rw-r--r-- 1 n0g00hy staff 3097 Jan 8 14:08 tslint.json
$ ng serve -o
No projects support the 'serve' target.
Version Details:
$ ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 13.1.2
Node: 16.13.1
Package Manager: npm 8.1.2
OS: darwin x64
Angular: <error>
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1301.2 (cli-only)
@angular-devkit/core 13.1.2 (cli-only)
@angular-devkit/schematics 13.1.2 (cli-only)
@angular/cli 13.1.2 (cli-only)
@schematics/angular 13.1.2 (cli-only)
rxjs 6.6.7 (cli-only)
typescript <error>
I'm going through linked-in learning and there appears to be virtually nothing in the master branch.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.