Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

jobyh/laravel-vue-make

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-vue-make

Build Status

This repo has been archived. Please use 👉 this package instead. 🙂

Artisan generator for Vue component files. Supports Laravel 8, 7 & 6.

Why?

I scaffold stuff up using Artisan a lot and having a command which all developers who work on a particular codebase have access to helps keep things consistent.

Quick start

% cd /path/to/laravel/project
% composer require --dev jobyh/laravel-vue-make

Customise Stubs

I use Tailwind for styles so the default stubs don't contain a <style> tag. You might though so...

Publishing stubs in Laravel is a great feature. Yes please.

% php artisan vendor:publish --tag vue-stub

Usage

Generate a Vue component file:

% php artisan make:vue MyComponent
# -> resources/js/components/MyComponent.vue

Generate under a subdirectory

% php artisan make:vue foo/bar/MyComponent
# -> resources/js/components/foo/bar/MyComponent.vue

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages