Skip to content

Commit

Permalink
feat: vtron
Browse files Browse the repository at this point in the history
  • Loading branch information
royalknight56 committed Jun 11, 2024
1 parent aa0b415 commit 843c65a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,15 @@ pnpm vtron dev
对于plus项目,运行:

```bash
pnpm vtron build
pnpm plus dev
```

对于demo项目,运行:

```bash
pnpm vtron build
pnpm plus build
pnpm demo dev
```

Expand Down
2 changes: 1 addition & 1 deletion packages/vtron-demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-->
<template>
<div class="outer">
<Screen></Screen>
<VtronScreen :system="system"></VtronScreen>
<!-- 一定需要引入Win10组件,组件已经在use时注册了 -->
</div>
<a style="display: none" href="https://beian.miit.gov.cn/">豫ICP备19041315号</a>
Expand Down
8 changes: 4 additions & 4 deletions packages/vtron-demo/src/DesktopSet.ts

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/vtron-plus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"build": "vue-tsc --noEmit && vite build --config vitelib.config.ts",
"preview": "vite preview",
"serve": "vite preview",
"bl": "vue-tsc --noEmit && vite build --config vitelib.config.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"test": "vitest",
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"build": "vue-tsc --noEmit && vite build --config vitelib.config.ts",
"serve": "vite preview",
"bl": "vue-tsc --noEmit && vite build --config vitelib.config.ts",
"tsc": "vue-tsc",
Expand Down

0 comments on commit 843c65a

Please sign in to comment.