Skip to content
项目

markhorgan/click-thru-prototype

在 GitHub 查看

关于

一款 Sketch 插件,可将网站设计生成可点击浏览的 HTML 原型。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Click-Thru Prototype

A Sketch plugin that creates a HTML click-through prototype of a website design so you can give your clients an idea what the website will look like. Here's an example of a website generated by the plugin. Change the width of the browser to see the different responsive designs.

Screencast

Installation

To install, download the zip file and double-click on Click-Thru-Prototype.sketchplugin. The commands will show up under Plugins > Click-Thru Prototype. To see it in action, open demo.sketch and then select Plugins > Click-Thru Prototype > Export to HTML.

Usage

You can create links between artboards, add external links or show a JavaScript dialog. When you're finished adding these you can generate a HTML website of the current page by selecting Export to HTML. The generated files can then be uploaded to a server so you can show your client.

Responsive Design

The plugin can handle responsive design, you just need to start your artboards with the same name e.g. index, index tablet, index mobile. When you change the width of your browser it will show a different artboard in the exported website. You can turn this feature off by unchecking Responsive artboards in Settings. You may need to update your artboard links after turning this setting on or off.

Responsive artboards

Mobile Menu

On mobile you will want to show a mobile menu rather than the normal horizontal menu. To do this you need to select which layer is the button that shows the menu by selecting Set Mobile Menu Button, and which layer is the mobile menu by selecting Set Mobile Menu.

Mobile menu

Retina Images

By default it will show 2x images for high pixel density screens. To turn this off uncheck Export retina images in Settings and re-export the page.

探索相关项目

加载中…