mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-23 03:30:32 +03:00
wip
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="bg-white shadow overflow-hidden sm:rounded-md">
|
<div class="bg-white shadow overflow-hidden sm:rounded-md">
|
||||||
<ul>
|
<ul class="demo">
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out"
|
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out"
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<vue-context ref="menu">
|
<vue-context ref="menu">
|
||||||
<template slot-scope="child" v-if="child.data">
|
<template slot-scope="child" v-if="child && child.data">
|
||||||
<li>
|
<li>
|
||||||
<a @click.prevent="alertName(child.data.name)">
|
<a @click.prevent="alertName(child.data.name)">
|
||||||
Alert name
|
Alert name
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ sort: 2
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="bg-white shadow overflow-hidden sm:rounded-md">
|
<div class="bg-white shadow overflow-hidden sm:rounded-md">
|
||||||
<ul>
|
<ul class="demo">
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out"
|
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user