如何导入psd文件并在framerjs中生成图层

时间:2016-01-06 06:49:56

标签: javascript coffeescript framerjs

我正在使用Windows,我有我的psd文件。我想使用framerjs创建一个交互式原型。我有原子文本编辑器,我已经从http://framerjs.com/static/downloads/Framer.zip

下载了framerjs

现在如何使用Windows中的成帧器生成器将设计文件导入并生成图层?

1 个答案:

答案 0 :(得分:1)

根据我对Framer studio的经验,

认为你需要在打开psd文件的情况下运行Photoshop。

在Framer github上找到以下文字 - https://github.com/koenbok/Framer

Framer Generator

With a Sketch or Photoshop file open, open Framer Generator and click Import. Only layer groups are imported; single layers are ignored. The hierarchy of your layer groups is respected.

You can safely move things around in Sketch or Photoshop and re-import. Generator will update the images and any changes in hierarchy, but leave your code intact. See our documentation for more.

Access any layer by its group name
Groups within groups will become subLayers
Groups with vector masks will become clipped layers
Group names should be unique (otherwise, they'll be renamed)