vilbur/portfolio

Template for development of packages for Laravel

dev-master / 1.0.x-dev 2018-04-19 11:54 UTC

This package is not auto-updated.

Last update: 2024-11-10 06:17:40 UTC


README

  • optimized for Vue.js & Bulma

Dependencies

vue-router
vue-gallery
vue-scrollto
disable-scroll

Install

composer require vilbur/portfolio @dev    

Install dependecies

npm install vue-gallery --save &&npm install --save vue-scrollto    

Publish files

php artisan vendor:publish --tag="vilbur/portfolio'"    

app.js

// import vilbur-portfolio view    
const Portfolio	= () => import('./portfolio/views/portfolio.vue');    

// routes for vue-router    
const router = new VueRouter({    
	routes:    
	{    
		path:	'/portfolio/:portfolio_slug?',    
		name:	'portfolio',    
		component:	Portfolio    
	},    
});    

app.scss

@import 'portfolio/portfolio.scss';