Skip to content

Commit

Permalink
feat: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dogodo-cc committed Nov 29, 2024
1 parent fdd5923 commit 728f0ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/document/docs/create-cocos-plugin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export default Editor.Panel.define({
::: code-group
```ts [vite.config.ts]
```ts {4,49,50} [vite.config.ts]
import { defineConfig } from 'vite';
import { nodeExternals } from 'rollup-plugin-node-externals';
import vue from '@vitejs/plugin-vue';
Expand Down Expand Up @@ -368,8 +368,8 @@ export default defineConfig(({ mode }) => {
});
```
```ts [panel.ts]
import App from './App.vue';
```ts [panel.ts] {1}
import App from './App.vue'; // 你的所有业务逻辑都在这个 app.vue 里面,是个常规的 vue 项目
import { createApp } from 'vue';
import './style.css';

Expand Down

0 comments on commit 728f0ca

Please sign in to comment.