This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree 1 file changed +71
-0
lines changed
packages/cna-template/template/frameworks/vant/pages
1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" container" >
3
+ <div >
4
+ <logo />
5
+ <h1 class =" title" >
6
+ Welcome to the Vant + Nuxt.js template
7
+ </h1 >
8
+ <div class =" links" >
9
+ <van-button type =" primary" target =" _blank" rel =" noopener noreferrer" to =" https://nuxtjs.org/" >
10
+ Documentation
11
+ </van-button >
12
+ <van-button target =" _blank" rel =" noopener noreferrer" to =" https://github.com/nuxt/nuxt.js" >
13
+ GitHub
14
+ </van-button >
15
+ <van-button target =" _blank" rel =" noopener noreferrer" to =" https://www.iviewui.com/" >
16
+ View UI
17
+ </van-button >
18
+ </div >
19
+ </div >
20
+ </div >
21
+ </template >
22
+
23
+ <script >
24
+ import Logo from ' ~/components/Logo.vue'
25
+ export default {
26
+ components: {
27
+ Logo
28
+ }
29
+ }
30
+ </script >
31
+
32
+ <style >
33
+ .container {
34
+ margin : 0 auto ;
35
+ min-height : 100vh ;
36
+ display : flex ;
37
+ justify-content : center ;
38
+ align-items : center ;
39
+ text-align : center ;
40
+ }
41
+
42
+ .title {
43
+ font-family :
44
+ ' Quicksand' ,
45
+ ' Source Sans Pro' ,
46
+ -apple-system ,
47
+ BlinkMacSystemFont,
48
+ ' Segoe UI' ,
49
+ Roboto,
50
+ ' Helvetica Neue' ,
51
+ Arial ,
52
+ sans-serif ;
53
+ display : block ;
54
+ font-weight : 300 ;
55
+ font-size : 100px ;
56
+ color : #35495e ;
57
+ letter-spacing : 1px ;
58
+ }
59
+
60
+ .subtitle {
61
+ font-weight : 300 ;
62
+ font-size : 42px ;
63
+ color : #526488 ;
64
+ word-spacing : 5px ;
65
+ padding-bottom : 15px ;
66
+ }
67
+
68
+ .links {
69
+ padding-top : 15px ;
70
+ }
71
+ </style >
You can’t perform that action at this time.
0 commit comments