Git Product home page Git Product logo

figsvelte's People

Contributors

caged avatar dependabot[bot] avatar thomas-lowry avatar vdmp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

figsvelte's Issues

Error: Can't resolve certain missing icons

The index.js file tries to import the auto-layout-horizontal.svg, auto-layout-vertical.svg, check.svg, layout-align-vertical-centers.svg, star-on.svg, star-off.svg, theme.svg, visible.svg and Label from components, but they no longer exist it seems.

Cannot compile

Trying to build a Figma Plugin, but seems like a rollup error. Perhaps something is out of date.

image

Error with -w and onmessage

When using rollup -c, works fine. But with rollup -c -w and something like
onmessage = event => { }; in the .svelte file, I'm gettin the following error:

image

image

Importing SVGs

I noticed that this was in the rollup config file

import svg from 'rollup-plugin-svg';

But I want to import svg files in the code.ts file. Doesn't this allow me to import svg files in .ts files, or only in .svelte files? What could I do to enable importing svg files in code.ts?

Ultimately I want the user to click a button in a Figma plugin, and an icon appears on the canvas.

Thanks!

Error while running code in Figma

Hello! I tried running this boilerplate and I get the following error inside the Figma console:

Screen Shot 2021-04-26 at 12 46 41 PM

I did not change anything but:

"rollup-plugin-svelte": "^5.0.3"    ->   "^6.1.1"

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.