2.1.0 • Published 2 years ago
wc-hello v2.1.0
\
This webcomponent follows the open-wc recommendation.
Installation
npm i wc-hello
Usage
<script type="module">
import 'wc-hello/wc-hello.js';
</script>
<wc-hello></wc-hello>
Publish
Generate bundle files
npx webpack
Sign in with your npm account
npm login
Release a version depending on breaking changes
npm version patch|minor|major
Publish
npm publish
Tooling configs
For most of the tools, the configuration is in the package.json
to minimize the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
Local Demo with web-dev-server
npm start
To run a local development server that serves the basic demo located in demo/index.html