اشتراکها
We are proud to present the first beta release of Kendo UI for Angular 2. It’s been designed specifically for Angular 2. Written in Typescript, built as native Query-free components and distributed as NPM packages, Kendo UI for Angular 2 makes integrating UI components into ng2 a piece of cake for developers. In this beta release, you’ll find the business application essential building blocks — form elements, grid and data visualization components.
یک نکتهی تکمیلی
روش توصیهی شدهی توسط تیم AngularJS 2.0، جهت توزیع برنامهها به این صورت است:
1) ابتدا برنامهی جدید angular-cli را نصب کنید: (بدیهی است پیش از آن باید وابستگیهای Nodejs بر روی سیستم شما نصب باشند)
2) با دستور ذیل، یک برنامهی جدید AngularJS 2.0 را به همراه تمام وابستگیهای آن، میتوانید آغاز کنید:
ابتدا به پوشهی مدنظر وارد شده و سپس در خط فرمان، دستور فوق را وارد کنید. به این ترتیب ساختار یک برنامهی جدید AngularJS 2.0 را خواهید داشت.
3) اکنون اگر دستور ذیل را صادر کنید:
به صورت خودکار، کار بسته بندی و توزیع نهایی برنامه، در پوشهای به نام dist، انجام خواهد شد.
دو مطلب تکمیلی
Angular CLI is here for AngularJS 2
Angular 2 CLI – Build Angular 2 apps using Command Line Interface
روش توصیهی شدهی توسط تیم AngularJS 2.0، جهت توزیع برنامهها به این صورت است:
1) ابتدا برنامهی جدید angular-cli را نصب کنید: (بدیهی است پیش از آن باید وابستگیهای Nodejs بر روی سیستم شما نصب باشند)
npm install -g angular-cli
ng new AngularCLIDemoApp
3) اکنون اگر دستور ذیل را صادر کنید:
ng build -prod
دو مطلب تکمیلی
Angular CLI is here for AngularJS 2
Angular 2 CLI – Build Angular 2 apps using Command Line Interface
اشتراکها
ساخت داشبورد رایگان و متن باز
این خطا عنوان کرده که با فرمت استاندارد «ایجاد پروژهی «کتابخانه» توسط Angular CLI 6.0» سازگاری ندارد. بهتر است با توجه به سورس باز بودن پروژه، این فرمت خاص را ایجاد کنید و به عنوان یک pull request جدید ارسال نمائید:
با سلام
لطفا درباره روش کار با System JS و systemjs.config.js بیشتر توضیح بدید.یا رفرنسی برای مطالعه.ممنون
من تمام مراحل Angular CLI انجام دادم فقط مقادیر داخل تگ app-root نمایش نمیدهد برنامه بیلد شده و خطا ندارد.حالا نمیدونم کجای کار رو اشتباه رفتم جلو که نمایش نمیدهد. فقط فایل bundel که ساخته به layout اضافه کردم
<script src="~/ngsrc/main.js"></script>
"architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { //"outputPath": "dist/ngsrc", //"index": "src/index.html", //"main": "src/main.ts", "outputPath": "../../wwwroot/ngsrc", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.app.json", "aot": false, "assets": [ "src/favicon.ico", "src/assets" ], "styles": [ "src/styles.css" ], "scripts": [] },
@Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'ngsrc'; }