Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
md-time-portlet
Advanced tools
Readme
A Vue.js Plugin
npm install --save md-time-portlet
Install all the components:
import Vue from 'vue'
import MdTimePortlet from 'md-time-portlet'
Vue.use(MdTimePortlet)
Use specific components:
import Vue from 'vue'
import { Test } from 'md-time-portlet'
Vue.component('test', Test)
⚠️ A css file is included when importing the package. You may have to setup your bundler to embed the css in your page.
Install all the components:
import 'md-time-portlet/dist/md-time-portlet.css'
import MdTimePortlet from 'md-time-portlet/dist/md-time-portlet.common'
Vue.use(MdTimePortlet)
Use specific components:
import 'md-time-portlet/dist/md-time-portlet.css'
import { Test } from 'md-time-portlet/dist/md-time-portlet.common'
Vue.component('test', Test)
⚠️ You may have to setup your bundler to embed the css file in your page.
<link rel="stylesheet" href="md-time-portlet/dist/md-time-portlet.css"/>
<script src="vue.js"></script>
<script src="md-time-portlet/dist/md-time-portlet.browser.js"></script>
The plugin should be auto-installed. If not, you can install it manually with the instructions below.
Install all the components:
Vue.use(MdTimePortlet)
Use specific components:
Vue.component('test', MdTimePortlet.Test)
Install all the components:
import Vue from 'vue'
import MdTimePortlet from 'md-time-portlet/src'
Vue.use(MdTimePortlet)
Use specific components:
import Vue from 'vue'
import { Test } from 'md-time-portlet/src'
Vue.component('test', Test)
⚠️ You need to configure your bundler to compile .vue
files. More info in the official documentation.
TODO
TODO
The first time you create or clone your plugin, you need to install the default dependencies:
npm install
This will run webpack in watching mode and output the compiled files in the dist
folder.
npm run dev
While developping, you can follow the install instructions of your plugin and link it into the project that uses it.
In the plugin folder:
npm link
In the other project folder:
npm link md-time-portlet
This will install it in the dependencies as a symlink, so that it gets any modifications made to the plugin.
You may have to login to npm before, with npm adduser
. The plugin will be built in production mode before getting published on npm.
npm publish
This will build the plugin into the dist
folder in production mode.
npm run build
FAQs
A Vue.js Plugin
The npm package md-time-portlet receives a total of 1 weekly downloads. As such, md-time-portlet popularity was classified as not popular.
We found that md-time-portlet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.