New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

v-hello-world

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-hello-world

A Vue.js component module

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

hello-world

A Vue.js component module

Installation

Using yarn

yarn add hello-world

Using npm

npm i --save hello-world

Demo and Docs

npm run serve

Usage

ES6 Modules / CommonJS

import HelloWorld from 'hello-world';
import 'hello-world/dist/hello-world.min.css';

Vue.component('hello-world', HelloWorld);
<hello-world text="Hello World!"></hello-world>

UMD

<hello-world text="Hello World!"></hello-world>

<script src="https://unpkg.com/vue" charset="utf-8"></script>
<script src="./dist/umd/hello-world.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="./dist/umd/hello-world.min.css">

<script type="text/javascript">
  Vue.component('hello-world', window.HelloWorld.default);
</script>

Build

Build configuration is located in the poi.config.js file, to build just run: npm run build, it will build to cjs and umd directories.

Tests

This template uses karma with chai by default, you can change test settings in poi.config.js

npm run test npm run test:watch npm run test:cov

License

This project is licensed under MIT License

Keywords

vue

FAQs

Package last updated on 23 Oct 2018

Did you know?

Socket

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.

Install

Related posts