@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/bulma@0.9.1/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.