The last laravel project scaffolding you will ever need
- Import Bootstrap css framework
@import '~v-scaff/scss/style.default';
- Import Vue Plugin
import vScaff from 'v-scaff';
Vue.use(vScaff, {
hasBootstrapVue: true,
hasVueMultiselect: true,
hasVFG: true,
hasVueAutoRegister: true,
hasMoment: true,
hasVMoney: true,
hasAOS: true,
hasVueButtonSpinner: true,
hasDirectives: true,
hasVueGoogleMap: true,
vueGoogleMapKey: 'your-key'
});
- Available directives
v-post="your-route" : post request made easy
<a v-post="'{{ route('logout') }}'">Logout</a>
v-submission="['vfg-ref']" : trigger validate method on vfg form and add loading state on button for 1s
<button v-submission="['profileForm', 'avatarForm']" type="submit">Submit</button>