Giter VIP home page Giter VIP logo

fxa's Introduction

Angular JSON Schema Form Material Design Seed App

This example app shows how to generate a Material Design form from a JSON Schema using Angular JSON Schema Form.

The app was generated with Angular CLI version 1.5.0.

To create this app yourself, make sure you have Node, NPM, and Angular CLI installed, then enter the following commands in your terminal:

ng new ng-jsf-material-design-seed
cd ng-jsf-material-design-seed
npm install @angular/material
npm install @angular/cdk
npm install hammerjs
npm install angular2-json-schema-form

Follow the instructions to set up Angular Material and add a default theme.

Then edit the following files:

  • src/styles.css — configure Angular Material styles
  • src/app/app.module.ts — load Angular JSON Schema Form (and Angular Material) modules
  • src/app/app.component.ts — set schema and data variables to configure form
  • src/app/app.component.html — display form with <json-schema-form> tag

Development server

Run ng serve, then navigate to http://localhost:4200/ to see the form.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Further help

To get more help on Angular JSON Schema Form, see the Angular JSON Schema Form README.

To get more help on the Angular Material library, see the Angular Material documentation.

To learn more about Material Design, see the Material Design guidelines.

To get more help on the Angular CLI enter ng help in your terminal, or see the Angular CLI README.

fxa's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.