vue-photonkit
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9471
274
31
10
3
1