Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
a521wangzhaofng
VueJS
提交
0ecb0d87
V
VueJS
项目概览
a521wangzhaofng
/
VueJS
与 Fork 源项目一致
Fork自
inscode / VueJS
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VueJS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
0ecb0d87
编写于
5月 26, 2023
作者:
6
6470185fe4e5691299947a39
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Auto Commit
上级
98c7cca3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
53 deletion
+12
-53
src/App.vue
src/App.vue
+3
-2
src/components/HelloWorld.vue
src/components/HelloWorld.vue
+2
-3
src/components/TheWelcome.vue
src/components/TheWelcome.vue
+7
-48
未找到文件。
src/App.vue
浏览文件 @
0ecb0d87
...
@@ -5,6 +5,7 @@ import TheWelcome from './components/TheWelcome.vue'
...
@@ -5,6 +5,7 @@ import TheWelcome from './components/TheWelcome.vue'
<
template
>
<
template
>
<header>
<header>
<img
alt=
"Vue logo"
class=
"logo"
src=
"./assets/logo.svg"
width=
"125"
height=
"125"
/>
<img
alt=
"Vue logo"
class=
"logo"
src=
"./assets/logo.svg"
width=
"125"
height=
"125"
/>
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
...
@@ -28,7 +29,7 @@ header {
...
@@ -28,7 +29,7 @@ header {
}
}
@media
(
min-width
:
1024px
)
{
@media
(
min-width
:
1024px
)
{
header
{
header
{
display
:
flex
;
display
:
flex
;
place-items
:
center
;
place-items
:
center
;
padding-right
:
calc
(
var
(
--section-gap
)
/
2
);
padding-right
:
calc
(
var
(
--section-gap
)
/
2
);
...
@@ -42,6 +43,6 @@ header {
...
@@ -42,6 +43,6 @@ header {
display
:
flex
;
display
:
flex
;
place-items
:
flex-start
;
place-items
:
flex-start
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
}
}
</
style
>
</
style
>
src/components/HelloWorld.vue
浏览文件 @
0ecb0d87
...
@@ -9,15 +9,14 @@ defineProps({
...
@@ -9,15 +9,14 @@ defineProps({
<
template
>
<
template
>
<div
class=
"greetings"
>
<div
class=
"greetings"
>
这里是新增的功能
<h1
class=
"green"
>
{{
msg
}}
</h1>
<h1
class=
"green"
>
{{
msg
}}
</h1>
<h3>
<h3>
You’ve successfully created a project with
You’ve successfully created a project with
<a
target=
"_blank"
href=
"https://vitejs.dev/"
>
Vite
</a>
+
<a
target=
"_blank"
href=
"https://vitejs.dev/"
>
Vite
</a>
+
<a
target=
"_blank"
href=
"https://vuejs.org/"
>
Vue 3
</a>
.
<a
target=
"_blank"
href=
"https://vuejs.org/"
>
Vue 3
</a>
.
</h3>
</h3>
</div>
</div>
</
template
>
</
template
>
...
...
src/components/TheWelcome.vue
浏览文件 @
0ecb0d87
...
@@ -8,54 +8,9 @@ import SupportIcon from './icons/IconSupport.vue'
...
@@ -8,54 +8,9 @@ import SupportIcon from './icons/IconSupport.vue'
</
script
>
</
script
>
<
template
>
<
template
>
<WelcomeItem>
<template
#icon
>
<DocumentationIcon
/>
</
template
>
<
template
#heading
>
Documentation
</
template
>
Vue’s
<a
target=
"_blank"
href=
"https://vuejs.org/"
>
official documentation
</a>
provides you with all information you need to get started.
</WelcomeItem>
<WelcomeItem>
<
template
#icon
>
<ToolingIcon
/>
</
template
>
<
template
#heading
>
Tooling
</
template
>
This project is served and bundled with
<a
href=
"https://vitejs.dev/guide/features.html"
target=
"_blank"
>
Vite
</a>
. The recommended IDE
setup is
<a
href=
"https://code.visualstudio.com/"
target=
"_blank"
>
VSCode
</a>
+
<a
href=
"https://github.com/johnsoncodehk/volar"
target=
"_blank"
>
Volar
</a>
. If you need to test
your components and web pages, check out
<a
href=
"https://www.cypress.io/"
target=
"_blank"
>
Cypress
</a>
and
<a
href=
"https://on.cypress.io/component"
target=
"_blank"
>
Cypress Component Testing
</a
>
.
<br
/>
More instructions are available in
<code>
README.md
</code>
.
</WelcomeItem>
<WelcomeItem>
<
template
#icon
>
<EcosystemIcon
/>
</
template
>
<
template
#heading
>
Ecosystem
</
template
>
Get official tools and libraries for your project:
<a
target=
"_blank"
href=
"https://pinia.vuejs.org/"
>
Pinia
</a>
,
<a
target=
"_blank"
href=
"https://router.vuejs.org/"
>
Vue Router
</a>
,
<a
target=
"_blank"
href=
"https://test-utils.vuejs.org/"
>
Vue Test Utils
</a>
, and
<a
target=
"_blank"
href=
"https://github.com/vuejs/devtools"
>
Vue Dev Tools
</a>
. If you need more
resources, we suggest paying
<a
target=
"_blank"
href=
"https://github.com/vuejs/awesome-vue"
>
Awesome Vue
</a>
a visit.
</WelcomeItem>
<div
style=
"background-color:aquamarine;"
>
新增数据======
</div>
<WelcomeItem>
<WelcomeItem>
<template
#icon
>
<template
#icon
>
<CommunityIcon
/>
<CommunityIcon
/>
...
@@ -80,5 +35,9 @@ import SupportIcon from './icons/IconSupport.vue'
...
@@ -80,5 +35,9 @@ import SupportIcon from './icons/IconSupport.vue'
As an independent project, Vue relies on community backing for its sustainability. You can help
As an independent project, Vue relies on community backing for its sustainability. You can help
us by
us by
<a
target=
"_blank"
href=
"https://vuejs.org/sponsor/"
>
becoming a sponsor
</a>
.
<a
target=
"_blank"
href=
"https://vuejs.org/sponsor/"
>
becoming a sponsor
</a>
.
</WelcomeItem>
</WelcomeItem>
<div
style=
"background-color:aquamarine;"
>
新增数据======
</div>
</template>
</template>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录