-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: remove unnecessary files and add basic demo
Removed the unused file `docs/guide/demo/aaa.vue` and added a basic demo in `docs/guide/demo/basic.vue` that displays a "Hello World" text using `vue3-pixi`'s `Application` and `text` components.
- Loading branch information
Mr.Mao
committed
Jun 3, 2023
1 parent
31b5729
commit 6c9fa3f
Showing
4 changed files
with
15 additions
and
17 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 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script setup> | ||
import { Application } from 'vue3-pixi' | ||
</script> | ||
|
||
<template> | ||
<Application :width="300" :height="300"> | ||
<text :anchor="0.5" :x="150" :y="150" :style="{ fill: 'white' }"> | ||
Hello World | ||
</text> | ||
</Application> | ||
</template> |
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,5 +0,0 @@ | ||
# adwa | ||
|
||
## bwawa | ||
|
||
<demo src="./demo/aaa.vue" /> | ||