Vue.js components.
npm install halfeld-components --save-dev
<template>
<div id="app">
<!-- Menu component -->
<HalfeldMenu
:items="links"
primary-color="#444"
secondary-color="#c3c3c3"
label="MENU"
shadow-color="#333">
<!-- Your header content -->
<h1>Halfeld Components</h1>
<a href="https://github.com/Halfeld/halfeld-components">View o Github</a>
</HalfeldMenu>
<!-- Card component -->
<HalfeldCard
title-big-word="Luíz"
title-small-word="Igor"
overlay-color="tomato"
image-src="http://igorluiz.me/assets/img/halfeld.jpg">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</HalfeldCard>
</div>
</template>
import { HalfeldMenu, HalfeldCard } from 'halfeld-components'
export default {
name: 'App',
components: { HalfeldMenu, HalfeldCard },
data () {
return {
items: [
{ name: 'Home', link: '/home' },
{ name: 'About', link: '/about' },
{ name: 'Contact', link: '/contact' }
]
}
}
}
- Slider
- Modal
npm install vue-component-menu --save-dev
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build