2.1.0 • Published 3 years ago
wc-hello v2.1.0
\
This webcomponent follows the open-wc recommendation.
Installation
npm i wc-helloUsage
<script type="module">
import 'wc-hello/wc-hello.js';
</script>
<wc-hello></wc-hello>Publish
Generate bundle files
npx webpackSign in with your npm account
npm loginRelease a version depending on breaking changes
npm version patch|minor|majorPublish
npm publishTooling 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 startTo run a local development server that serves the basic demo located in demo/index.html