@syed_umair/webcomponents-starter

Proof of Concept for building WebComponents

Usage no npm install needed!

<script type="module">
  import syedUmairWebcomponentsStarter from 'https://cdn.skypack.dev/@syed_umair/webcomponents-starter';
</script>

README

native-webcomponent

Proof of Concept for building Native WebComponents

Tools

  • Webpack
  • ESLint
  • Babel
  • Jest
  • Prettier
  • Sass

To Use

import the module first by the following methods

<script src="https://unpkg.com/@syed_umair/webcomponents-starter@latest"></script>

or

npm i @syed_umair/webcomponents-starter

import '@syed_umair/webcomponents-starter'

then use custom tags

<todo-app></todo-app>
<hello-world></hello-world>

Development

setup

  npm i
  npm run build
  npm run test

Test the custom tags locally in localhost:8080

npm run dev