0.6.3 • Published 3 years ago
@trevorism/headerbar v0.6.3
headerbarjs
Vue based header bar component for Trevorism.com apps. This is compatible with Vue 2.
Prerequisites
Assumes vue
, buefy
, VueCookies
are being used.
Usage
<template>
<div id="app">
<header-bar></header-bar>
</div>
</template>
<script>
import HeaderBar from '@trevorism/headerbar'
export default {
name: 'App',
components: {
HeaderBar
}
}
</script>
Project setup
This project used the vue-sfc-rollup plugin to scaffold the code.
npm install -g vue-sfc-rollup
sfc-init
Development server
npm run serve
Production build
npm run build
Exposes a vue component over npm
npm login
npm version <update_type>
(patch, major, or minor)
npm run build
npm publish --access=public