Modularize more components

This commit is contained in:
Bernd Bestel
2018-04-15 09:41:53 +02:00
parent 642f95a3f8
commit 13566bc6fd
15 changed files with 154 additions and 272 deletions

View File

@@ -1,8 +1,7 @@
@extends('layout.basecomponent')
@push('componentScripts')
<script src="/viewjs/components/productcard.js"></script>
@endpush
@section('componentJsName', 'productcard')
@section('componentContent')
<div class="main well">
<h3>Product overview <strong><span id="productcard-product-name"></span></strong></h3>
@@ -15,4 +14,3 @@
</p>
</div>
@stop