GithubHelp home page GithubHelp logo

Comments (7)

15190408121 avatar 15190408121 commented on August 24, 2024

npm install fabric --save
npm install fabric-customise-controls --save
main.js
import fabric from 'fabric';
import 'fabric-customise-controls';

from vue-fabric.

khajaamin avatar khajaamin commented on August 24, 2024

This issue is still unsolved.

from vue-fabric.

mmt2597 avatar mmt2597 commented on August 24, 2024

It works to me. thank you :D
canvas vue fabric

from vue-fabric.

purestart avatar purestart commented on August 24, 2024

please download customiseControls and fabric and then import by script label

https://github.com/purestart/vue-fabric/blob/master/static/js/customiseControls.min.js
https://github.com/purestart/vue-fabric/blob/master/static/js/fabric.min.js

import by index.html

<script type="text/javascript" src="./static/js/fabric.min.js"></script>
<script type="text/javascript" src="./static/js/customiseControls.min.js"></script>

from vue-fabric.

bulolo avatar bulolo commented on August 24, 2024

我的也是不行!
image

image

from vue-fabric.

purestart avatar purestart commented on August 24, 2024

我的也是不行!
image

image

<script type="text/javascript" src="./static/js/fabric.min.js"></script> <script type="text/javascript" src="./static/js/customiseControls.min.js"></script>

这两个文件加载正常吗?

from vue-fabric.

bulolo avatar bulolo commented on August 24, 2024

@purestart 加载了就是第二个图片的报错

from vue-fabric.

Related Issues (20)

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.