सर्वर दुनिया | गोपनीयता नीति | सहायता / संपर्क करें |
20788 / 120655887
|
Angular 16 : स्थापित करें2024/05/31 |
Angular इंस्टॉल करें जो वेब एप्लिकेशन फ्रेमवर्क है। |
|
[1] | |
[2] | Angular 16 स्थापित करें। |
root@dlp:~# npm install -g @angular/cli@16 ..... ..... added 271 packages in 7s 39 packages are looking for funding run `npm fund` for details |
[3] | एक सामान्य उपयोगकर्ता के रूप में नमूना ऐप चलाने का प्रयास करें। |
ubuntu@dlp:~$ ng version _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 16.2.14 Node: 18.19.1 Package Manager: npm 9.2.0 OS: linux x64 Angular: ... Package Version ------------------------------------------------------ @angular-devkit/architect 0.1602.14 (cli-only) @angular-devkit/core 16.2.14 (cli-only) @angular-devkit/schematics 16.2.14 (cli-only) @schematics/angular 16.2.14 (cli-only)ubuntu@dlp:~$ ng new hello-world ..... ..... Packages installed successfully.ubuntu@dlp:~$ cd hello-world ubuntu@dlp:~/hello-world$ ng serve --host dlp.srv.world --port 4200 Warning: This is a simple server for use in testing or debugging Angular applications locally. It hasn't been reviewed for security issues. Binding this server to an open connection can result in compromising your application or computer. Using a different host than the one passed to the "--host" flag might result in websocket connection issues. You might need to use "--disable-host-check" if that's the case. Browser application bundle generation complete. Initial Chunk Files | Names | Raw Size vendor.js | vendor | 2.35 MB | polyfills.js | polyfills | 332.06 kB | styles.css, styles.js | styles | 229.35 kB | main.js | main | 48.33 kB | runtime.js | runtime | 6.52 kB | | Initial Total | 2.95 MB Build at: 2024-05-31T07:47:27.548Z - Hash: e2bf30771bb19be2 - Time: 9807ms ** Angular Live Development Server is listening on dlp.srv.world:4200, open your browser on http://dlp.srv.world:4200/ ** Compiled successfully. |
[4] | किसी भी क्लाइंट कंप्यूटर से आपके द्वारा सेट किए गए यूआरएल तक पहुंच, और फिर यदि निम्न साइट दिखाई जाती है तो यह ठीक है। |
Sponsored Link |
|