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

vue-photonkit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-photonkit - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

lib/index.js

17

package.json
{
"name": "vue-photonkit",
"description": "Vue.js component for Photon",
"version": "1.1.0",
"description": "Photonkit components for Vue",
"version": "1.2.0",
"main": "index.js",

@@ -9,12 +9,17 @@ "author": "kaorun343 <kaoru.h65536@live.jp>",

"scripts": {
"play": "vue-play start",
"play:build": "vue-play build"
"build": "rollup -c rollup.config.js",
"play": "vue-play start --webpack-config ./webpack.config.js",
"play:build": "vue-play build --webpack-config ./webpack.config.js"
},
"files": [
"lib",
"index.js"
"lib"
],
"devDependencies": {
"buble": "^0.15.2",
"node-sass": "^4.1.1",
"photon": "github:connors/photon#v0.1.2-alpha",
"raw-loader": "^0.5.1",
"rollup": "^0.41.4",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-html": "^0.2.1",
"sass-loader": "^4.1.1",

@@ -21,0 +26,0 @@ "vue-play": "^2.2.0",

# vue-photonkit
Vue.js components for Photon
Photonkit components for Vue

@@ -10,12 +10,17 @@ ## Requirements

```html
<script>
import { Icon } from 'vue-photonkit'
const { Icon } = require('vue-photonkit')
// or
import Icon from 'vue-photonkit/lib/Icon'
const Icon = require('vue-photonkit/lib/Icon')
</script>
```js
import { Icon } from 'vue-photonkit'
```
If you'd like to register all components globally,
please do like this below.
```js
import install from 'vue-photonkit'
// then
Vue.use(install)
```
Then, all components are available with `ph-` prefix.
See [vue-play scenarios](./play)

@@ -22,0 +27,0 @@

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