All Projects → bensladden → Vue Fabric Wrapper

bensladden / Vue Fabric Wrapper

Licence: mit
Vue Fabric.js Wrapper

Projects that are alternatives of or similar to Vue Fabric Wrapper

office-fabric
johannes-z.github.io/office-fabric/
Stars: ✭ 12 (-82.86%)
Mutual labels:  fabric, vue-components
Tis 3d
TIS-100 inspired low-tech computing in Minecraft.
Stars: ✭ 64 (-8.57%)
Mutual labels:  fabric
Vue Qr Reader
Vue component to scan QR codes
Stars: ✭ 46 (-34.29%)
Mutual labels:  vue-components
Primevue
The Most Complete Vue UI Component Library
Stars: ✭ 1,085 (+1450%)
Mutual labels:  vue-components
Vue Image Loader
Vue progressive image loader plugin like Medium
Stars: ✭ 47 (-32.86%)
Mutual labels:  vue-components
Vue Trend
🌈 Simple, elegant spark lines for Vue.js
Stars: ✭ 1,102 (+1474.29%)
Mutual labels:  vue-components
Vue Meeting Selector
This component is inspired from the meeting selector from doctolib with the power of Vuejs components.
Stars: ✭ 44 (-37.14%)
Mutual labels:  vue-components
Web develop
《Python Web开发实战》书中源码
Stars: ✭ 1,146 (+1537.14%)
Mutual labels:  fabric
Vueye Table
A data table created using Vue.js
Stars: ✭ 64 (-8.57%)
Mutual labels:  vue-components
Vue Aplayer
🍰 Easy-to-use music player for Vue 2.x
Stars: ✭ 1,087 (+1452.86%)
Mutual labels:  vue-components
Vuex Flash
VueJs Flash Message Component within Vuex
Stars: ✭ 54 (-22.86%)
Mutual labels:  vue-components
Pure Vue Chart
Simple and lightweight vue chart component without using chart library dependencies
Stars: ✭ 50 (-28.57%)
Mutual labels:  vue-components
Vue Lazyload Images
A plugin of lazy-load images for Vue2.x
Stars: ✭ 61 (-12.86%)
Mutual labels:  vue-components
Vue Lottie
Render After Effects animations on Vue based on Bodymovin
Stars: ✭ 1,037 (+1381.43%)
Mutual labels:  vue-components
Vue Cnode
基于vue2 + vue-router + vuet + ES6 + less + flex.css重写vue版cnode社区,使用webpack2打包
Stars: ✭ 1,134 (+1520%)
Mutual labels:  vue-components
Mortgageblockchainfabric
Mortgage Processing App using Hyperledger Fabric Blockchain. Uses channels for privacy and access, and restricts read/write previleges through endorsement policies
Stars: ✭ 45 (-35.71%)
Mutual labels:  fabric
Vue Social Sharing
A renderless Vue.js component for sharing links to social networks, compatible with SSR
Stars: ✭ 1,071 (+1430%)
Mutual labels:  vue-components
Indoorjs
Indoor mapping for floorplans using on fabricjs
Stars: ✭ 59 (-15.71%)
Mutual labels:  fabric
Cordovue
A sample Apache Cordova application using VueJS.
Stars: ✭ 66 (-5.71%)
Mutual labels:  vue-components
Awesome Uikit
Collect JS Frameworks, Web components library and Admin Template.
Stars: ✭ 1,136 (+1522.86%)
Mutual labels:  vue-components

vue-fabric-wrapper

branches releases openIssues lastCommit license

Netlify Status

Stick Man Example: Edit StickMan

Currently implemented the following Fabric Objects:

Fabric.Canvas, Fabric.Circle, Fabric.Ellipse, Fabric.Group, Fabric.ImageFromURL, Fabric.Line, Fabric.Path, Fabric.Polygon, Fabric.Polyline, Fabric.Rectangle, Fabric.SVGFromURL, Fabric.Text, Fabric.Triangle

⚙️ Installation

$ npm install vue-fabric-wrapper

📄 Documents

Link

🚀 How to use in Vue

<template>
  <div id="app">
    <fabric-canvas>
      <fabric-circle :id="3"></fabric-circle>
    </fabric-canvas>
  </div>
</template>

<script>
import vueFabricWrapper from "vue-fabric-wrapper";

export default {
  name: "App",
  components: {
    FabricCanvas: vueFabricWrapper.FabricCanvas,
    FabricCircle: vueFabricWrapper.FabricCircle
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>

🚀 How to use in Nuxt

Create Plugin with the following example code

import Vue from 'vue';
import vueFabricWrapper from 'vue-fabric-wrapper';

Vue.component("FabricCanvas", vueFabricWrapper.FabricCanvas)
Vue.component("FabricCircle", vueFabricWrapper.FabricCircle)

Add this to nuxt.config and use mode client

module.exports = {
	plugins: [
			{ src: "@/plugins/fabric.js", mode: "client" }
		]
}

Finally use client-only to render only on the client side

<template>
  <client-only>
    <fabric-canvas>
      <fabric-circle :id="2"></fabric-circle>
    </fabric-canvas>
  </client-only>
</template>

<script>
export default {

};
</script>

<style>
</style>

⭐️ Show Your Support

Please give a ⭐️ if this project helped you!

👏 Contributing

If you have any questions or requests or want to contribute to vue-fabric-wrapper or other packages, please write the issue or give me a Pull Request freely.

🐞 Bug Report

If you find a bug, please report to us opening a new Issue on GitHub.

⚙️ Development

npm run serve

Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].