Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-play

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-play - npm Package Versions

134

2.1.0

Diff

Changelog

Source

v2.1.0 (2016/11/13)

Core

  • allow to use component as play() argument
// before 2.1.0 we can do
play('this is my component', module)
  .add('with text', h => h(MyCompoent))

// now we can also
play(MyComponent, module)
  .displayName('this is my component')
  .add('with text', h => h(MyCompoent))
rem
published 2.0.0 •

Changelog

Source

v2.0.0 (2016/11/03)

Core

  • Set preview to an independent webpack entry and load it in iframe
  • Update play entry syntax to be more similar to react-storybook

Other

  • Update vue-play-cli to support new core changes
rem
published 2.0.0-rc.3 •

rem
published 2.0.0-rc.1 •

rem
published 2.0.0-beta.1 •

Changelog

Source

v2.0.0-beta.1 (2016/10/30)

Core

  • Use iframe to load scenario
  • add play.describe method for adding playspot
play.describe('Button', add => {
  add('with text', '<button>text</button>')
})

// if no callback function, it returns the `add` function
const addButton = play.describe('Button')
addButton('with text', '<button>text</button>')
  • play.start now only needs the selector argument, and it defaults to #app
// mount the app to #root element
play.start('#root')
  • add action to replace this.$log and this.$clear

Other

  • adjust the buzz words
    • playspot is for the thing you play.describe
    • scenario is a scenario for demonstrating your playspot
    • play app is the whole app
// describe a playspot
play.describe('button', add => {
  // add a scenario called 'with text'
  add('with text', '<button>text</button>')
})
rem
published 1.0.1 •

rem
published 1.0.0 •

rem
published 0.3.0 •

rem
published 0.2.4 •

rem
published 0.2.3 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc