This repository was archived by the owner on Mar 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @xsoulspace/vue_flutter_tailwind" ,
3
3
"description" : " Vue3 styled like Flutter with Tailwind CSS" ,
4
- "version" : " 0.6.2 " ,
4
+ "version" : " 0.6.3 " ,
5
5
"private" : false ,
6
6
"author" : {
7
7
"name" : " Anton Malofeev" ,
33
33
"@tailwindcss/postcss7-compat" : " ^2.0.3" ,
34
34
"postcss" : " ^7" ,
35
35
"tailwindcss" : " npm:@tailwindcss/postcss7-compat" ,
36
- "vue" : " ^3.0.0 " ,
36
+ "vue" : " ^3.0.5 " ,
37
37
"vue3-virtual-scroller" : " ^0.2.1" ,
38
38
"vue-grid-layout" : " 3.0.0-beta1"
39
39
},
Original file line number Diff line number Diff line change 15
15
continue.</ strong
16
16
>
17
17
</ noscript >
18
- < div id ="app " style =" position: relative " > </ div >
18
+ < div id ="app "> </ div >
19
19
<!-- built files will be auto injected -->
20
20
</ body >
21
21
</ html >
Original file line number Diff line number Diff line change 4
4
defineComponent ,
5
5
h ,
6
6
Teleport ,
7
+ watch ,
7
8
} from '@vue/runtime-core'
8
9
import { Colors } from '../abstract/Colors'
9
10
import { EdgeInsetsStep } from '../abstract/EdgeInsets'
@@ -38,7 +39,13 @@ export const Navigation = ({ child }: NavigationI) => {
38
39
)
39
40
40
41
const isRoutesExists = computed ( ( ) => routeController . count > 0 )
42
+ watch ( isRoutesExists , ( ) => {
43
+ console . log ( { isRoutesExists } )
44
+ } )
41
45
const isFullscreen = computed ( ( ) => routeController . _isFullscreen )
46
+ watch ( isRoutesExists , ( ) => {
47
+ console . log ( { isFullscreen } )
48
+ } )
42
49
const isNotFullscreen = computed ( ( ) => routeController . _isNotFullscreen )
43
50
return ( ) =>
44
51
h ( 'div' , { } , [
@@ -47,7 +54,7 @@ export const Navigation = ({ child }: NavigationI) => {
47
54
Visibility ( {
48
55
visible : isRoutesExists ,
49
56
child : h (
50
- < Teleport to = "body " >
57
+ < Teleport to = "#app " >
51
58
{ h (
52
59
Positioned ( {
53
60
_zIndex : routeController . _backgroundZIndex . value ,
You can’t perform that action at this time.
0 commit comments