Created
November 27, 2017 20:31
-
-
Save thefln/d452d65b76c035a263b16994179527dd to your computer and use it in GitHub Desktop.
nuxt-layout.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<div class="container"> | |
<nav class="navbar"> | |
<div class="navbar-menu"> | |
<div class="navbar-start"> | |
<a href="/" class="navbar-item">Products</a> | |
</div> | |
<div class="navbar-end"> | |
<a href="#" class="navbar-item snipcart-checkout snipcart-summary"> | |
<span>View cart (<span class="snipcart-total-items">0</span>)</span> | |
</a> | |
</div> | |
</div> | |
</nav> | |
</div> | |
<section class="section"> | |
<div class="container"> | |
<nuxt /> | |
</div> | |
</section> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> | |
<script id="snipcart" src="https://cdn.snipcart.com/scripts/2.0/snipcart.js" data-api-key="<snipcart-api-key>"></script> | |
</div> | |
</template> | |
<script> | |
export default { | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment