Posts

Showing posts from December, 2023

User Google Font, Adding Bootstrap using CDN

Image
 Add Google font usng given below code to be added into style.scss /* You can add global styles to this file, and also import other style files */ @import url ( 'https://fonts.googleapis.com/css?family=Open+Sans&display=swap' ); Now add Bootstrap in your app: go to getBoostrap web page: https://getbootstrap.com/ go to doc and add the Link tag and script tag for cdn link in you code <! doctype html > < html lang = "en" > < head >   < meta charset = "utf-8" >   < title >Foodorder</ title >   < base href = "/" >   < meta name = "viewport" content = "width=device-width, initial-scale=1" >   < link rel = "icon" type = "image/x-icon" href = "favicon.ico" >   < link href = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel = "stylesheet" integrity = "sha384-T3c6CoIi6uLrA9TneNEoa7Rxn...

Angular 1

Image
Start Project Step 1: To install angular in specific folder npm install -g @angular/cli Step 2: creatre project PS D:\Angular_Food_DeliverApp> ng new foodorder ng : File C:\Users\irfan\AppData\Roaming\npm\ng.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see  about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + ng new foodorder + ~~     + CategoryInfo          : SecurityError: (:) [], PSSecurityException     + FullyQualifiedErrorId : UnauthorizedAccess Getting given below error Run this command Step 1 First, you have to need to open the command prompt and run this command. set-ExecutionPolicy RemoteSigned -Scope CurrentUser Step 2 Now you have to run the second command on your system. This command is: Get-ExecutionPolicy Step 3 To view their policy, you need to run this command in your command prompt: Get-ExecutionPolicy -list Now able to run the...