@clebert/bulma-preact
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @clebert/bulma-preact

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

141 kB

Total Files

117

Last publish

Collaborators

  • clebert