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

Javascript 如何导入psd文件并在framerjs中生成层,javascript,coffeescript,framerjs,Javascript,Coffeescript,Framerjs,我正在使用windows,我有我的psd文件。我想用framerjs创建一个交互式原型。我有atom文本编辑器,我从http://framerjs.com/static/downloads/Framer.zip 现在,如何在windows中使用framer generator将设计文件导入并生成图层?根据我在framer studio的经验 我想你需要Photoshop在psd文件打开的情况下运行 在Framer github上找到以下文本- Framer Generator With a S

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


现在,如何在windows中使用framer generator将设计文件导入并生成图层?

根据我在framer studio的经验

我想你需要Photoshop在psd文件打开的情况下运行

在Framer github上找到以下文本-

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)