{"_id":"8_9","_rev":"2-3a02ccd2ff9d93e9510b488972a688e9","name":"8_9","description":"A Vue.js Plugin","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"8_9","description":"A Vue.js Plugin","version":"0.0.0","author":{"name":"ehmatthes","email":"eric@example.com"},"keywords":["vue","vuejs","plugin"],"license":"MIT","main":"dist/8_9.common.js","unpkg":"dist/8_9.browser.js","module":"index.js","scripts":{"dev":"cross-env NODE_ENV=development webpack --config config/webpack.config.dev.js --progress --watch","build":"npm run build:browser && npm run build:common","build:browser":"cross-env NODE_ENV=production webpack --config config/webpack.config.browser.js --progress --hide-modules","build:common":"cross-env NODE_ENV=production webpack --config config/webpack.config.common.js --progress --hide-modules","prepublish":"npm run build"},"devDependencies":{"babel-core":"^6.0.0","babel-eslint":"^7.1.1","babel-loader":"^6.0.0","babel-preset-es2015":"^6.14.0","babel-preset-stage-0":"^6.16.0","cross-env":"^3.1.3","css-loader":"^0.26.1","eslint":"^3.12.1","eslint-config-standard":"^6.2.1","eslint-loader":"^1.6.1","eslint-plugin-html":"^1.6.0","eslint-plugin-promise":"^3.4.0","eslint-plugin-standard":"^2.0.1","extract-text-webpack-plugin":"^2.0.0-beta.4","vue-loader":"^10.0.0","vue-template-compiler":"^2.1.6","webpack":"^2.1.0-beta.28","webpack-merge":"^1.1.2"},"_id":"8_9@0.0.0","_shasum":"c5565f883d3b527933f72312401634a18f2a269e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"waterdoor","email":"waterdoor@foxmail.com"},"dist":{"shasum":"c5565f883d3b527933f72312401634a18f2a269e","tarball":"https://registry.npmjs.org/8_9/-/8_9-0.0.0.tgz","integrity":"sha512-hdCOfTX9VTtTlima6PSfyrIo5yJHnaSMVvKH8zR8PvlyHZkEFpqqC46CVoRuvbk77yyQwqrXsup0Sd84ZsGISg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJqUkVMwrVJ6JZ18cbLp8hiXvvLE3wVV6MMgnvB+ziBAiEA4m026jW5xiuisfYhsrRHR8JZMzvEf1D5lHuwLt9xcpU="}]},"maintainers":[{"name":"waterdoor","email":"waterdoor@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/8_9-0.0.0.tgz_1499480934270_0.4786093756556511"}}},"readme":"# 8_9\n\n[![npm](https://img.shields.io/npm/v/8_9.svg) ![npm](https://img.shields.io/npm/dm/8_9.svg)](https://www.npmjs.com/package/8_9)\n[![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/)\n\nA Vue.js Plugin\n\n## Table of contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Example](#example)\n\n# Installation\n\n```\nnpm install --save 8_9\n```\n\n## Default import\n\nInstall all the components:\n\n```javascript\nimport Vue from 'vue'\nimport 8_9 from '8_9'\n\nVue.use(8_9)\n```\n\nUse specific components:\n\n```javascript\nimport Vue from 'vue'\nimport { Test } from '8_9'\n\nVue.component('test', Test)\n```\n\n**⚠️ A css file is included when importing the package. You may have to setup your bundler to embed the css in your page.**\n\n## Distribution import\n\nInstall all the components:\n\n```javascript\nimport '8_9/dist/8_9.css'\nimport 8_9 from '8_9/dist/8_9.common'\n\nVue.use(8_9)\n```\n\nUse specific components:\n\n```javascript\nimport '8_9/dist/8_9.css'\nimport { Test } from '8_9/dist/8_9.common'\n\nVue.component('test', Test)\n```\n\n**⚠️ You may have to setup your bundler to embed the css file in your page.**\n\n## Browser\n\n```html\n<link rel=\"stylesheet\" href=\"8_9/dist/8_9.css\"/>\n\n<script src=\"vue.js\"></script>\n<script src=\"8_9/dist/8_9.browser.js\"></script>\n```\n\nThe plugin should be auto-installed. If not, you can install it manually with the instructions below.\n\nInstall all the components:\n\n```javascript\nVue.use(8_9)\n```\n\nUse specific components:\n\n```javascript\nVue.component('test', 8_9.Test)\n```\n\n## Source import\n\nInstall all the components:\n\n```javascript\nimport Vue from 'vue'\nimport 8_9 from '8_9/src'\n\nVue.use(8_9)\n```\n\nUse specific components:\n\n```javascript\nimport Vue from 'vue'\nimport { Test } from '8_9/src'\n\nVue.component('test', Test)\n```\n\n**⚠️ You need to configure your bundler to compile `.vue` files.** More info [in the official documentation](https://vuejs.org/v2/guide/single-file-components.html).\n\n# Usage\n\n> TODO\n\n# Example\n\n> TODO\n\n---\n\n# Plugin Development\n\n## Installation\n\nThe first time you create or clone your plugin, you need to install the default dependencies:\n\n```\nnpm install\n```\n\n## Watch and compile\n\nThis will run webpack in watching mode and output the compiled files in the `dist` folder.\n\n```\nnpm run dev\n```\n\n## Use it in another project\n\nWhile developping, you can follow the install instructions of your plugin and link it into the project that uses it.\n\nIn the plugin folder:\n\n```\nnpm link\n```\n\nIn the other project folder:\n\n```\nnpm link 8_9\n```\n\nThis will install it in the dependencies as a symlink, so that it gets any modifications made to the plugin.\n\n## Publish to npm\n\nYou may have to login to npm before, with `npm adduser`. The plugin will be built in production mode before getting published on npm.\n\n```\nnpm publish\n```\n\n## Manual build\n\nThis will build the plugin into the `dist` folder in production mode.\n\n```\nnpm run build\n```\n\n---\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","maintainers":[{"name":"waterdoor","email":"waterdoor@foxmail.com"}],"time":{"modified":"2022-06-12T14:08:48.630Z","created":"2017-07-08T02:28:54.405Z","0.0.0":"2017-07-08T02:28:54.405Z"},"keywords":["vue","vuejs","plugin"],"author":{"name":"ehmatthes","email":"eric@example.com"},"license":"MIT","readmeFilename":"README.md"}