politico / zeplin-cli-connect-plugin-vue

Zeplin CLI plugin, to send Vue component snippets to Zeplin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zeplin CLI Connected Components - Vue Plugin

npm version

Example Zeplin snippet created by the plugin

Zeplin CLI plugin, to send Vue component snippets to Zeplin

To use:

  1. Follow instructions for setting up Zeplin Connected Components, and the required components.json file; see Zeplin's blog post and the @zeplin/cli package (still in beta as of Dec. 2019)
  2. Once your components.json is ready, then:
npm i @zeplin/cli -D
npm i zeplin-cli-connect-plugin-vue -D

npx zeplin connect -p zeplin-cli-connect-plugin-vue

And that's it! In addition to any Component or Storybook links you've setup, snippets for your .vue components will now be available alongside your Zeplin components

Please open issues with any additional information you'd like to see in your generated Zeplin snippets

About

Zeplin CLI plugin, to send Vue component snippets to Zeplin

License:MIT License


Languages

Language:Vue 56.0%Language:TypeScript 40.9%Language:JavaScript 3.0%