-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d515ec9
commit 0d0f6f3
Showing
26 changed files
with
121 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,34 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; | ||
|
||
:root { | ||
--foreground-rgb: 0, 0, 0; | ||
--background-start-rgb: 214, 219, 220; | ||
--background-end-rgb: 255, 255, 255; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--foreground-rgb: 255, 255, 255; | ||
--background-start-rgb: 0, 0, 0; | ||
--background-end-rgb: 0, 0, 0; | ||
} | ||
} | ||
|
||
body { | ||
color: rgb(var(--foreground-rgb)); | ||
background: linear-gradient( | ||
to bottom, | ||
transparent, | ||
rgb(var(--background-end-rgb)) | ||
) | ||
rgb(var(--background-start-rgb)); | ||
} | ||
|
||
@layer utilities { | ||
.text-balance { | ||
text-wrap: balance; | ||
} | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,9 @@ | ||
<script setup> | ||
import WelcomeItem from './WelcomeItem.vue' | ||
import DocumentationIcon from './icons/IconDocumentation.vue' | ||
import ToolingIcon from './icons/IconTooling.vue' | ||
import EcosystemIcon from './icons/IconEcosystem.vue' | ||
import CommunityIcon from './icons/IconCommunity.vue' | ||
import SupportIcon from './icons/IconSupport.vue' | ||
<script setup lang='ts'> | ||
</script> | ||
|
||
<template> | ||
<WelcomeItem> | ||
<template #icon> | ||
<DocumentationIcon /> | ||
</template> | ||
<template #heading>Documentation</template> | ||
|
||
Vue’s | ||
<a href="https://vuejs.org/" target="_blank" rel="noopener">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" rel="noopener">Vite</a>. The | ||
recommended IDE setup is | ||
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> + | ||
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If | ||
you need to test your components and web pages, check out | ||
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a> and | ||
<a href="https://on.cypress.io/component" target="_blank" rel="noopener" | ||
>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 href="https://pinia.vuejs.org/" target="_blank" rel="noopener">Pinia</a>, | ||
<a href="https://router.vuejs.org/" target="_blank" rel="noopener">Vue Router</a>, | ||
<a href="https://test-utils.vuejs.org/" target="_blank" rel="noopener">Vue Test Utils</a>, and | ||
<a href="https://github.com/vuejs/devtools" target="_blank" rel="noopener">Vue Dev Tools</a>. If | ||
you need more resources, we suggest paying | ||
<a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">Awesome Vue</a> | ||
a visit. | ||
</WelcomeItem> | ||
|
||
<WelcomeItem> | ||
<template #icon> | ||
<CommunityIcon /> | ||
</template> | ||
<template #heading>Community</template> | ||
|
||
Got stuck? Ask your question on | ||
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official | ||
Discord server, or | ||
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener" | ||
>StackOverflow</a | ||
>. You should also subscribe to | ||
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a> and follow | ||
the official | ||
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a> | ||
twitter account for latest news in the Vue world. | ||
</WelcomeItem> | ||
|
||
<WelcomeItem> | ||
<template #icon> | ||
<SupportIcon /> | ||
</template> | ||
<template #heading>Support Vue</template> | ||
|
||
As an independent project, Vue relies on community backing for its sustainability. You can help | ||
us by | ||
<a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener">becoming a sponsor</a>. | ||
</WelcomeItem> | ||
</template> | ||
<div> | ||
Welcome | ||
</div> | ||
</template> |
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
template/vue-js/src/components/__tests__/HelloWorld.spec.js
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
template/vue-js/src/components/__tests__/TheWelcome.spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { describe, it, expect } from 'vitest' | ||
|
||
import { mount } from '@vue/test-utils' | ||
import TheWelcome from '../TheWelcome.vue' | ||
|
||
describe('TheWelcome', () => { | ||
it('renders properly', () => { | ||
const wrapper = mount(TheWelcome) | ||
expect(wrapper.text()).toContain('Welcome') | ||
}) | ||
}) |
Oops, something went wrong.