[mod] 換位置
2
.gitignore
vendored
@ -21,3 +21,5 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
dist/*
|
||||
|
@ -11,6 +11,7 @@
|
||||
<script src="./static/js/EventBus.js" charset="utf-8"></script>
|
||||
<script src="./static/cocos-build/web-mobile/src/settings.js"></script>
|
||||
<script src="./static/cocos-build/web-mobile/cocos2d-js.js"></script>
|
||||
<script src="./static/cocos-loader/creator-load.js"></script>
|
||||
<!-- <script src="./static/cocos-build/web-mobile/main.js"></script> -->
|
||||
</head>
|
||||
|
||||
|
Before Width: | Height: | Size: 264 KiB |
@ -1,24 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="./assets/favicon.69a65d1f.ico" />
|
||||
<link href="./src/assets/ZenMaruGothic-Regular.ttf" rel="stylesheet">
|
||||
<!-- <link href="https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap" rel="stylesheet"> -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>cocos-vue-demo</title>
|
||||
<script src="./static/js/EventBus.js" charset="utf-8"></script>
|
||||
<script src="./static/cocos-build/web-mobile/src/settings.js"></script>
|
||||
<script src="./static/cocos-build/web-mobile/cocos2d-js.js"></script>
|
||||
<!-- <script src="./static/cocos-build/web-mobile/main.js"></script> -->
|
||||
<script type="module" crossorigin src="./assets/index.a0e31fb5.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.2f5031fd.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 460 KiB After Width: | Height: | Size: 460 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import GAME_INIT from '../../static/cocos-loader/creator-load';
|
||||
import GAME_INIT from '../../public/static/cocos-loader/creator-load';
|
||||
import web2game from './web2game';
|
||||
setTimeout(() => {
|
||||
init()
|
||||
|
@ -7,6 +7,6 @@ export default defineConfig({
|
||||
plugins: [vue()],
|
||||
build: {
|
||||
// 輸出路徑
|
||||
outDir: "./public",
|
||||
outDir: "./dist",
|
||||
},
|
||||
});
|
||||
|