0.4.4 • Published 5 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 install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Use
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