sskyy / blade Goto Github PK
View Code? Open in Web Editor NEWA Sketch plugin to generate prototype web pages.
License: MIT License
A Sketch plugin to generate prototype web pages.
License: MIT License
Polymer 1.0 is out. We should shift towards using WebComponents. Much better encapsulation.
Also allows styling to be inlined for each component.
https://www.polymer-project.org/1.0/
I will fork and try to add this feature and make it work for Sketch 3.3+
This plugin will erase the folder and it's content that has the same name as your sketch file...
Where does the file export to? Im using V50. It says done, but where does the file export to?
It would be really cool if this plugin could could take each artboard in the Sketch document and export it to HTML with its visibility set according to media-queries.
Artboards could have a naming convention that specified the media query for which it would be visible. For example, you could have two artboards named like:
which would output each artboard into a div with an ID that was targeted by media-queries created according to the artboard names.
2/3 times or so, Sketch crashes after blade completes and export, or when you assign the permissions.
I tried my project didn't work.
Even your Demo neither .
Hi - I use blade plugin almost every other minute. Here are the items I wish to see improvements.
There are others but we can workaround them. Can you let me know if there are any workarounds?
Thanks.
Hi there.
As you probably know, [MSTextLayer lineSpacing]
has been deprecated for a while, and it will be removed in Sketch v40. Please update your Plugin to use [MSTextLayer lineHeight]
instead, or it won't work in the next release :)
Hi,
the plugin will not generate the jQuery library and reset.css in the output folder.
Greets
Folder Structure:
Header[btn]
-- logo complete
---- logo (saved as a symbol and export)
---- icon (saved as a symbol and export)
-- background
When I add "[btn]" to the Header layer, the logo, icon and background all fail to export. I'm not sure if I'm using [btn] wrong or if this is a bug.
Thanks
Can you share a link for output file?
Hi,
A folder is created with reset.css. jQuery file but no project css file or html file.
Please advice.....
Hey your blade plugin works well.
But say for ex. i had to make a drop down.. then how would it work?
need more commands from you such as you form.
Hi, Blade is no longer working as you know, but will you make it compatible with the new upcoming Sketch again? (version 43)
Would be awesome!
Sketch version 48.2,
High Sierra 10.13.2
Selecting Artboard from your example, Plugins>Blade? Export Current Artboard, get "error context.api!"
I have tried to run Blade few times but nothing is generated. Is there log or way to trace wat's the issue?
Doesn't work.
Tried one shape in a new document : nothing happens
Tried existing document with art boards : nothing happens
Tried existing new document with one art board and one shape : nothing happens.
I quick read me to make sure we are using it properly would be great!
Hi @sskyy
Thanks for your good tool.
I'm using the latest Sketch version 47.1. i wonder how can i install this plugin to the Sketch app?
After i download the source code, i run command "npm install" and "npm run render" but there is no Blade plugin in Sketch.
Sorry, this is the 1st i use this plugin.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.