@clebert/bulma-preact
v1.1.0
Published
A collection of Bulma components for use with Preact.
Downloads
6
Readme
@clebert/bulma-preact
A collection of Bulma components for use with Preact.
Installation
npm install @clebert/bulma-preact --save
Usage
<!DOCTYPE html>
<html>
<head>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"
integrity="sha256-WLKGWSIJYerRN8tbNGtXWVYnUM5wMJTXD8eG4NtGcDM="
crossorigin="anonymous"
/>
</head>
<body>
<main id="app"></main>
</body>
</html>
import {BulmaTitle} from '@clebert/bulma-preact';
import {h, render} from 'preact';
render(
<BulmaTitle color="info" size="1">
Hello, World!
</BulmaTitle>,
document.querySelector('main#app')!
);
Development
Publishing a new release
npm run release patch
npm run release minor
npm run release major
After a new release has been created by pushing the tag, it must be published via the GitHub UI. This triggers the final publication to npm.
Copyright (c) 2020, Clemens Akens. Released under the terms of the MIT License.