项目作者: jqwidgets

项目描述 :
Create jQWidgets Angular App
高级语言: TypeScript
项目地址: git://github.com/jqwidgets/create-jqwidgets-angular-app.git
创建时间: 2017-07-12T07:45:15Z
项目社区:https://github.com/jqwidgets/create-jqwidgets-angular-app

开源协议:

下载


create-jqwidgets-angular-app

Please refer to its documentation:

This project is based on Angular CLI.

Quick Overview

  1. npm i -g create-jqwidgets-angular-app
  2. create-jqwidgets-angular-app my-app
  3. cd my-app
  4. npm start

Then open http://localhost:4200/ to see your app.

When you’re ready to deploy to production, create a minified bundle with npm run build.

Getting Started

Installation

Install it once globally:

  1. npm install -g create-jqwidgets-angular-app

Creating an App

  1. create-jqwidgets-angular-app my-app
  2. cd my-app

It will create a directory called my-app inside the current folder.

Inside that directory, it will generate the initial project structure and install the transitive dependencies:

  1. my-app
  2. ├── e2e
  3. ├── node_modules
  4. ├── src
  5. ├── angular.json
  6. ├── browserslist
  7. ├── karma.conf.js
  8. ├── package.json
  9. ├── README.md
  10. ├── tsconfig.app.json
  11. ├── tsconfig.json
  12. ├── tsconfig.spec.json
  13. ├── tslint.json

Subfolders are not shown in order to keep it short.

Once the installation is done, you can run some commands inside the project folder:

Now, time for some commands:

  1. npm start

Builds the app in development mode and starts a web server.

Open http://localhost:4200 to view it in the browser.

The page will reload if you make edits.

  1. npm run build

Builds the app in production mode and stores it in the dist/ directory.

Why Use This?

If you’re getting started with jQWidgets and Angular, using create-jqwidgets-angular-app is the easiest way to do this.

Just install, run and you will see an Angular jQWidgets Grid on your page.

Then you can customize the project as much as you want, making something great.

grid-img