Git Product home page Git Product logo

calcite-components-examples's Introduction

Calcite Components Examples

Working example applications utilizing calcite-components. Each folder within this repository is its own mini application demonstrating integration of Calcite Components with other technologies and tooling.

Most frameworks provide a CLI tool to quickly start up a repo. If available, these tools are used to create the examples to ensure they are colloquial to the framework in question. After a starter project is scaffolded up, calcite-components are installed and some general steps are taken:

  1. Include Calcite Components' loader and define the custom elements
  2. Pull in Calcite Components' global CSS file (provides theming variables, etc)
  3. Ensure Calcite Components' assets get copied into the project (allows the calcite-icon component to work)

This repository will change over time as new best-practices are established and framework integrations are improved.

Angular

The Angular example was built using the @angular/cli package:

npm install -g @angular/cli
ng new [NAME]

Ember

The ember app used the ember-cli package to get started:

npm install -g ember-cli
ember new [NAME]

React

The example react app was created using the create-react-app utility:

npx create-react-app [NAME]

Preact

The example preact app was created using the preact create utility:

npm install -g preact-cli
preact create typescript [NAME]

This example also uses TypeScript, and provides additional instructions for getting calcite components to work inside a TypeScript + Preact environment.

Vue

The Vue.js example was built using the cli-service-global package:

npm install -g @vue/cli
vue create [NAME]

Rollup

The Rollup example was generated with rollup-starter-app:

npx degit "rollup/rollup-starter-app" [NAME]

Webpack

The Webpack example was built from scratch using Webpack 4.x.

License

COPYRIGHT © 2020 Esri

All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.

This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.

See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english

For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA

email: [email protected]

calcite-components-examples's People

Contributors

dependabot[bot] avatar paulcpederson avatar benelan avatar github-actions[bot] avatar eriklharper avatar ffaubry avatar tomwayson avatar geospatialem avatar jcfranco avatar odoe avatar moosetraveller avatar

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.