@hudson-newey/web-components v1.11.0
Web Components Workspace
"Write once, publish anywhere"
Online deployment of example components
Using this workspace, the src/components
directory has been automatically deployed to the following locations
- Documentation: wc-workspace-demojtgf4zsprh.netlify.app
- NPM: npmjs.com/package/@hudson-newey/web-components
- CDN: jsdelivr.com/package/npm/@hudson-newey/web-components
- GitHub Releases: github.com/hudson-newey/webcomponents-workspace/releases
How to use
CDN
You can import web components through the CDN
Script tag snippet:
<script type="module" src="https://esm.run/@hudson-newey/web-components"></script>
Full page example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Component CDN Example</title>
<script type="module" src="https://esm.run/@hudson-newey/web-components"></script>
</head>
<body>
<my-todo-list></my-todo-list>
</body>
</html>
NPM
You can add the example components used in this repository by using the following command
$ npm i @hudson-newey/web-components
>
You can then import them into a file using
import * from "@hudson-newey/web-components";
GitHub Releases
You can manually import the example components in this repository using the GitHub releases page
Pre-compiled source files and raw TypeScript files can be found on this page
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago