An open API service indexing awesome lists of open source software.

https://github.com/thekeithstewart/angular-elements-multiplatform


https://github.com/thekeithstewart/angular-elements-multiplatform

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# AngularElementsMultiplatform

This project shows how to use create custom elements using Angular Elements and use them in Angular, React, Vue.js, and vanilla JS applications.

### Setup

Simple run `npm install` or `yarn` from the root directory and the dependencies for the main project and all the demo apps will be installed.

### Building Angular Element

To build the Angular Elements projects run the following command:

```sh
npm run build:elements
```

This will build the projects that contain Angular Elements and place the built scripts into the appropriate folder in the demo applications.

### Running the demo applications

Vanilla JS:

```sh
npm run start:vanilla
```

React:

```sh
npm run start:react
```

Vue.js

```sh
npm run start:vue
```