0.33.5 โ€ข Published 2 years ago

@ow3/hello-world-elements v0.33.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@ow3/hello-world-elements

"Why create components for a specific framework when it can be written to be understood by all โ€” including browsers?"

๐Ÿ’ก Get Started

Before you get started, it is important to understand what a Web Component is. Think of it as a (custom) HTML element. This custom element can natively be used within your framework-of-choice. That being said, this is an opinionated starter kit, employing many best-practices to help you expedite the development of your reusable component library.

# you may use this GitHub template or the following command:
npx degit openwebstacks/stacks-framework hello-world-stack
cd hello-world-stack

pnpm i # install deps for all packages
pnpm dev # stubs the libraries for local use
pnpm dev:vite-wc # starts the dev server
pnpm build # builds all packages for production-ready use

Additionally, the package.json contains some useful snippets you likely want to be aware of.

๐Ÿค– Usage

Because this project is optimized toward the development of easily reusable & composable component libraries, it's very easy to use (and distribute):

<html>
  <body>
    <hello-world name="Jane Doe"></hello-world>
    <script src="elements.js"></script>
  </body>
</html>

Tips

This project also includes a simple way to handle your versioning. Through semantic commit names, it will also generate the two changelogs: one as part of the GitHub releases & the one markdown file that's stored within the root of the project.

# how to create a git commit?
git add . # select the changes you want to commit
pnpm run commit # then simply follow the prompts

# after you successfully committed, you may create a "release"
pnpm run release # automates git commits, versioning, and CHANGELOG generation

Read more about these tips in the docs.

Dev Tools

Plugins

Coding Style

When using this template, feel free to adjust it to your needs. It simply is a framework to help you quickly & efficiently bootstrap & design component libraries using industry best-practices.

๐Ÿงช Testing

pnpm test

๐Ÿ“ˆ Changelog

Please see our releases page for more information on what has changed recently.

๐Ÿ’ช๐Ÿผ Contributing

Please see CONTRIBUTING for details.

๐Ÿ Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Open Web Discord Server

๐Ÿ“„ License

The MIT License (MIT). Please see LICENSE for more information.

Made with โค๏ธ

0.33.5

2 years ago

0.32.20

2 years ago

0.31.10

2 years ago

0.31.11

2 years ago

0.31.12

2 years ago

0.31.13

2 years ago

0.31.14

2 years ago

0.31.15

2 years ago

0.31.16

2 years ago

0.31.17

2 years ago

0.31.18

2 years ago

0.32.4

2 years ago

0.32.3

2 years ago

0.32.2

2 years ago

0.30.4

2 years ago

0.32.1

2 years ago

0.30.3

2 years ago

0.32.0

2 years ago

0.30.2

2 years ago

0.30.1

2 years ago

0.30.0

2 years ago

0.29.0

2 years ago

0.25.4

2 years ago

0.27.1

2 years ago

0.27.0

2 years ago

0.32.19

2 years ago

0.32.18

2 years ago

0.32.17

2 years ago

0.32.16

2 years ago

0.32.15

2 years ago

0.32.14

2 years ago

0.32.12

2 years ago

0.25.7

2 years ago

0.32.11

2 years ago

0.29.2

2 years ago

0.25.6

2 years ago

0.32.10

2 years ago

0.29.1

2 years ago

0.31.9

2 years ago

0.31.7

2 years ago

0.31.6

2 years ago

0.33.3

2 years ago

0.31.5

2 years ago

0.33.2

2 years ago

0.31.4

2 years ago

0.33.1

2 years ago

0.31.3

2 years ago

0.33.0

2 years ago

0.31.2

2 years ago

0.31.1

2 years ago

0.31.0

2 years ago

0.28.1

2 years ago

0.28.0

2 years ago

0.26.0

2 years ago

0.28.6

2 years ago

0.28.5

2 years ago

0.28.4

2 years ago

0.28.3

2 years ago

0.19.0

2 years ago

0.20.8

2 years ago

0.20.6

2 years ago

0.20.4

2 years ago

0.14.2

2 years ago

0.14.1

2 years ago

0.13.13

2 years ago

0.13.12

2 years ago

0.13.11

2 years ago

0.13.9

2 years ago

0.13.8

2 years ago

0.13.7

2 years ago

0.13.6

2 years ago

0.13.5

2 years ago

0.13.4

2 years ago

0.12.1

2 years ago