Skip to content

An example of angular element to wrap angular component in a custom element

Notifications You must be signed in to change notification settings

tomo93/table-in-angular-element

Repository files navigation

Angular Elements Wrapper

This project is a simple implementation of Angular Elements, which is a way to wrap Angular components as custom elements. The component wrapped is the angular material table. Custom elements are a web standards-based way to create reusable and self-contained components that can be used anywhere in the HTML page.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js and npm installed on your computer.
  • Angular CLI installed globally on your computer.

Installing

  1. Clone the repository
git clone https://github.com/tomo93/table-in-angular-element.git
  1. Navigate to the project directory
cd table-in-angular-element
  1. Install the dependencies
npm install

Usage

  1. Run the project
ng serve
  1. Access the project in your browser at http://localhost:4200/

Deployment

This project can be deployed by building the project using the Angular CLI and including the resulting files in your main HTML file.

ng build --prod

Built With

  • Angular - The web framework used
  • Angular CLI - The command line interface for Angular
  • NPM - Package manager

Authors

About

An example of angular element to wrap angular component in a custom element

Topics

Resources

Stars

Watchers

Forks