No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. yiyinlin.tw
    Y
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    yiyinlin.tw

    @yiyinlin.tw

    0
    Reputation
    41
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    yiyinlin.tw Follow

    Latest posts made by yiyinlin.tw

    • RE: how to use fabric.js?

      I did make it a plugin.

      import fabric from 'fabric'
      export default ({ Vue }) => {
        Vue.prototype.$fabric = fabric
      }
      

      then add a test.vue in components.

      mounted () {
          var canvas = new this.$fabric.fabric.Canvas('canvas')
          var rect = new this.$fabric.fabric.Rect({
            left: 100,
            top: 150,
            fill: 'red',
            width: 200,
            height: 200
          })
          canvas.add(rect)
        }
      

      but nothing happened.

      posted in Framework
      Y
      yiyinlin.tw
    • how to use fabric.js?

      Is anyone can tell how to use fabric.js ?
      I did install fabric,and import fabric already.
      but it only show blank page without error.

      posted in Framework
      Y
      yiyinlin.tw