Coder Social home page Coder Social logo

fabric.js-docs-cn's Introduction

Fabric.js中文文档导航

说明:

1、本系列如果有两个超链接,则第一个是官方文档链接,第二个是中文文档链接,用/分隔,若不存在第二个链接或第二个链接无法跳转则代表没有或还未完成。

2、本系列大部分代码demo都是参考官方文档自己实践而成,有些地方与官方文档不一样会有说明,也有少部分没有亲自实现直接使用了官网文档的代码。

3、本系列代码使用vue语法,每篇文章的第一个代码片段会有标签和样式部分,其他代码无特殊情况只放部分mounted(){}中的代码或与上文没有重复的核心代码。

Vue中使用fabric.js

方法一:

先安装fabricjs

npm i fabric --save

在main.js中使用

import fabric from "fabric"
Vue.use(fabric)

如果方法一无效可以使用方法二⬇️

方法二:

#需要先安装canvas
npm i canvas --save
#安装fabricjs
npm i fabric --save

在需要使用的页面引入

import { fabric } from "fabric";

官方导航

General Support(普通帮助)

Upgrade Resources(升级资源)

Introduction to FabricJS(FabricJS简介)

帮助您开始使用Fabric.js的基本指南

fabric.js-docs-cn's People

Contributors

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