0.2.26 • Published 2 years ago

sk-antd-bundle v0.2.26

Weekly downloads
52
License
ISC
Repository
-
Last release
2 years ago

Skinny Widgets Antd Theme Bundle

autonomous skinny-widgets bundle shipped with antd theme

npm i sk-antd-bundle --save

then add the following to your html

<sk-config
    theme="antd"
></sk-config>

<sk-input>Input</sk-input>
<script src="/node_modules/sk-antd-bundle/dist/sk-antd-bundle.js"></script>
<script type="module">
    customElements.define('sk-input', SkInput);
</script>

you can register elements you use with

<html class="sk-auto-reg">

<body>
<script src="/node_modules/sk-antd-bundle/dist/sk-antd-bundle.js"></script>
<script type="module" src="/node_modules/sk-core/src/sk-registry-init.js"></script>

<sk-config
    theme="antd"
></sk-config>
<sk-input>Input</sk-input>

<sk-registry>
    <sk-registry-item key="SkInput" defName="SkInput" is="sk-input"></sk-registry-item>
</sk-registry>
</body>
</html>

Development

You can go with just WHATWG modules for development purposes, but may need some extra tools.

Hot rebuilding files

relying on the idea all dependant modules checkouted to parent watch can run rebuild bundle and copy to stand project automatically on changed. It can be helpful when you need to debug or develop some related to bundles functionality.

sk/ 

    sk-input/

    sk-input-antd/

    sk-antd-bundle/

    sk-stand/

then run

npm run watch

Versions update

when you are done with changes you may need to check and update all the versions. Update script relies on structure described above.

npm run vbump 0.2.2
0.2.26

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

2 years ago

0.2.20

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.17

2 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago