This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { NgModule } from '@angular/core'; | |
| import { LottieModule } from 'ngx-lottie'; | |
| import player from 'lottie-web'; | |
| // Note we need a separate function as it's required | |
| // by the AOT compiler. | |
| export function playerFactory() { | |
| return player; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm i lottie-web ngx-lottie |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [[ $VERCEL_GIT_COMMIT_REF == "main" ]] ; then | |
| echo "This is our main branch" | |
| npm run build | |
| else | |
| echo "This is not our main branch" | |
| npm run build:development | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
| "version": 1, | |
| "newProjectRoot": "projects", | |
| "projects": { | |
| "fifa-players": { | |
| "projectType": "application", | |
| "schematics": { | |
| "@schematics/angular:component": { | |
| "style": "scss" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const environment = { | |
| production: false, | |
| name:'', | |
| code: 0 | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const environment = { | |
| production: false, | |
| name:'development environment', | |
| code: 1003 | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const environment = { | |
| production: false, | |
| name:'', | |
| code: 0 | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ng generate environments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compiled output | |
| /dist | |
| /tmp | |
| /out-tsc | |
| /bazel-out | |
| # Node | |
| /node_modules | |
| npm-debug.log | |
| yarn-error.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "ng serve", | |
| "type": "chrome", | |
| "request": "launch", | |
| "preLaunchTask": "npm: start", | |
| "url": "http://localhost:4200/", | |
| "webRoot": "${workspaceFolder}", |
NewerOlder