Add components to tailwindcss play

This commit is contained in:
khatabwedaa
2021-08-21 22:15:59 +02:00
parent 6c2956ba5e
commit 79d586e8fa
59 changed files with 67 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view-component :name="name" :code="code">
<view-component :name="name" :code="code" :playUrl="'https://play.tailwindcss.com/3z4AD1G8sU'">
<div class="px-3 py-6" slot="component">
<div class="max-w-xs mx-auto overflow-hidden bg-white rounded-lg shadow-lg dark:bg-gray-800">
<img class="object-cover w-full h-56" src="https://images.unsplash.com/photo-1542156822-6924d1a71ace?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt="avatar">