0.4.4 • Published 7 years ago
@mindfulindustries/laravel-vue-forms v0.4.4
laravel-vue-forms
Work in Progress! Please dont use before tagged 1.0
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildRun your tests
npm run testLints and fixes files
npm run lintUse
Options
options: { http: http Transport Provider, cssPrefix: css classesd prefix }
Customizing CSS
HTML / CSS Structure
<div class="[PREFIX]-field-container">
<div class="[PREFIX]-field">
<label class="[PREFIX]-label">
...
</label>
<input class="[PREFIX]-input is-[INPUT-TYPE]" />
</div>
<div class="[PREFIX]-errors-continer">
<ul class="[PREFIX]-errors-ul">
<li class="[PREFIX]-errors-li">
...
</li>
</ul>
</div>
</div>default prefix is laravel-vue-form
.PREFIX-label
.PREFIX-input .PREFIX-input is-text .PREFIX-input is-password
Notes
Laravel test response server should run on port 9192 php artisan serve --port=9192
npm run build-bundle npm publish --access public