Giter Site home page Giter Site logo

dword-design / buefy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kikuomax/buefy

0.0 1.0 0.0 29.6 MB

Lightweight UI components for Vue.js based on Bulma

Home Page: https://buefy.org

License: MIT License

JavaScript 39.81% TypeScript 0.16% HTML 0.27% Vue 47.46% SCSS 12.30%

buefy's Introduction

Buefy is a lightweight library of responsive UI components for Vue.js based on Bulma framework and design.

This is an npm publish of the fork by kikuomax. All credit goes to him.

About this fork

This fork (branch vue-3) is a version of Buefy that works with Vue 3 (not with Vue 2). The branch vue-3 has departed from the then latest stable version 0.9.21.

Please note that this branch was previously based on the version 0.9.7, though, it has been completely rebased from 0.9.21.

Migration goal

The migration goal was to make the documentation page of every component work. Some features not used in the documentation pages may not work. Please refer to MIGRATION-NOTE.md for more details about what challenges I faced.

Unit tests have not been touched at all.

Server-side-rendering has neither been tested.

Breaking changes

Because not all of Vue 2 features could be reproduced with Vue 3, there are some breaking changes. Please refer to CHANGELOG.md for more details. The biggest breaking change is obviously, this does not work with Vue 2.

Properties for programmatically opening a Dialog or Modal have changed from v0.9.21-vue3-1 to v0.9.21-vue3-2 (became compatible with the original Buefy). Please refer to CHANGELOG.md for more details.

How to install

To install this fork, please run the following command,

npm install 'https://github.com/kikuomax/buefy.git'

The latest version is tagged v0.9.21-vue3-2.

If you need the previous version that is based on Buefy v0.9.7, please run the following command,

npm install 'https://github.com/kikuomax/buefy.git#v0.9.7-vue3-1'

Features

  • Keep your current Bulma theme / variables easily
  • Supports both Material Design Icons and FontAwesome
  • Very lightweight with none internal dependencies aside from Vue & Bulma
  • About 88KB min+gzip (with Bulma included)
  • Semantic code output
  • Follows Bulma design and some of the Material Design UX
  • Focus on usability and performance without over-animating stuff

Documentation

The documentation is in the docs directory, it serves as the demo as well.

Browse online documentation here.

Quick start

You need Vue.js version 3.0+. (Vue 2 is not supported)

1 Install via npm

npm install 'https://github.com/kikuomax/buefy.git'

2 Import and use Buefy

Bundle

import { createApp } from 'vue';
import Buefy from 'buefy';
import 'buefy/dist/buefy.css';

const app = createApp();

app.use(Buefy);

or Individual Components

import { createApp } from 'vue'
import { Field, Input } from 'buefy'
import 'buefy/dist/buefy.css'

const app = createApp();

app.use(Field)
app.use(Input)

3 Include Material Design Icons

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css">

If you want to customize the icons or the theme, refer to the customization section on the documentation.

Alternatively, you can use a CDN or even download

<!-- Buefy CSS -->
<link rel="stylesheet" href="https://unpkg.com/buefy/dist/buefy.min.css">

<!-- Buefy JavaScript -->
<script src="https://unpkg.com/buefy/dist/buefy.min.js"></script>

Browser support

Recent versions of Firefox, Chrome, Edge, Opera and Safari. IE10+ is only partially supported.

Contributing

Please see the contributing guidelines

Versioning

Version will follow v0.Y.Z, where:

  • Y: Major (breaking changes)
  • Z: Minor or patch

Core Team


Walter Tommasi

Special thanks to Rafael Beraldo, the original author.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Rafael Beraldo

πŸ’»

Alexandre Paradis

πŸ’»

Yuxing Liao

πŸ’»

Adrien

πŸ’»

Apolokak Lab

πŸ’»

AntΓ©rio Vieira

πŸ’»

Jorge Nieto

πŸ’»

Mateus Machado Luna

πŸ’»

All contributors

This project follows the all-contributors specification. Contributions of any kind welcome!

License

Code released under MIT license.

buefy's People

Contributors

adrlen avatar afifsohaili avatar afwn90cj93201nixr2e1re avatar anteriovieira avatar apolokaklab avatar aquaminer avatar bender-a avatar brunoosilva avatar dauriata avatar dependabot[bot] avatar fabiofdsantos avatar frantic1048 avatar geeksilva97 avatar gerrywilko avatar holtolee avatar jtommy avatar kaangokdemir avatar kikuomax avatar mars073 avatar mateuswetah avatar mouadtaoussi avatar rafaberaldo avatar re2005 avatar rubjo avatar service-paradis avatar tcitworld avatar tofandel avatar wanxe avatar yuwu9145 avatar yxngl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.