Angular 13 : インストール2022/06/24 |
Web アプリケーションフレームワーク Angular のインストールです。
|
|
[1] | |
[2] | Angular 13 をインストールします。 |
[root@dlp ~]# npm install -g @angular/cli@13 added 197 packages, and audited 198 packages in 16s 24 packages are looking for funding run `npm fund` for details found 0 vulnerabilities |
[3] | 任意の一般ユーザーで動作確認します。 |
[cent@dlp ~]$ ng version _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 13.3.8 Node: 16.14.0 Package Manager: npm 8.3.1 OS: linux x64 Angular: ... Package Version ------------------------------------------------------ @angular-devkit/architect 0.1303.8 (cli-only) @angular-devkit/core 13.3.8 (cli-only) @angular-devkit/schematics 13.3.8 (cli-only) @schematics/angular 13.3.8 (cli-only)[cent@dlp ~]$ ng new hello-world ? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? (Use arrow keys) ..... ..... Packages installed successfully.[cent@dlp ~]$ cd hello-world [cent@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 | 1.98 MB | polyfills.js | polyfills | 296.96 kB | styles.css, styles.js | styles | 173.23 kB | main.js | main | 49.80 kB | runtime.js | runtime | 6.52 kB | | Initial Total | 2.49 MB Build at: 2022-06-24T01:52:19.121Z - Hash: c0411b4452ced85a - Time: 10565ms ** Angular Live Development Server is listening on dlp.srv.world:4200, open your browser on http://dlp.srv.world:4200/ ** ✓ Compiled successfully. |
[4] | 任意のクライアントコンピューターで Web アクセスして、以下のようなページが表示されれば OK です。 |
Sponsored Link |
|