https://github.com/thekeithstewart/angular-elements-multiplatform
https://github.com/thekeithstewart/angular-elements-multiplatform
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thekeithstewart/angular-elements-multiplatform
- Owner: TheKeithStewart
- Created: 2018-05-25T22:06:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T18:00:42.000Z (almost 7 years ago)
- Last Synced: 2025-01-19T17:58:15.327Z (4 months ago)
- Language: TypeScript
- Size: 521 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```