fix bad import
This commit is contained in:
parent
d4f02c10df
commit
c6f47c9b25
4 changed files with 5 additions and 5 deletions
|
|
@ -38,7 +38,7 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, PropType } from 'vue'
|
import { defineComponent, PropType } from 'vue'
|
||||||
import { Image, Tag } from '../../common/GameCommon'
|
import { Image, Tag } from '../../common/Types'
|
||||||
|
|
||||||
import ResponsiveImage from './ResponsiveImage.vue'
|
import ResponsiveImage from './ResponsiveImage.vue'
|
||||||
import TagsInput from './TagsInput.vue'
|
import TagsInput from './TagsInput.vue'
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue'
|
import { defineComponent } from 'vue'
|
||||||
import { Image } from '../../common/GameCommon'
|
import { Image } from '../../common/Types'
|
||||||
|
|
||||||
import ImageTeaser from './ImageTeaser.vue'
|
import ImageTeaser from './ImageTeaser.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import ConnectionOverlay from './../components/ConnectionOverlay.vue'
|
||||||
import HelpOverlay from './../components/HelpOverlay.vue'
|
import HelpOverlay from './../components/HelpOverlay.vue'
|
||||||
|
|
||||||
import { main, MODE_PLAY } from './../game'
|
import { main, MODE_PLAY } from './../game'
|
||||||
import { Player } from '../../common/GameCommon'
|
import { Player } from '../../common/Types'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'game',
|
name: 'game',
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ import ImageLibrary from './../components/ImageLibrary.vue'
|
||||||
import NewImageDialog from './../components/NewImageDialog.vue'
|
import NewImageDialog from './../components/NewImageDialog.vue'
|
||||||
import EditImageDialog from './../components/EditImageDialog.vue'
|
import EditImageDialog from './../components/EditImageDialog.vue'
|
||||||
import NewGameDialog from './../components/NewGameDialog.vue'
|
import NewGameDialog from './../components/NewGameDialog.vue'
|
||||||
import { GameSettings, Image, Tag } from '../../common/GameCommon'
|
import { GameSettings, Image, Tag } from '../../common/Types'
|
||||||
import Util from '../../common/Util'
|
import Util from '../../common/Util'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
|
@ -150,7 +150,7 @@ export default defineComponent({
|
||||||
this.dialog = 'new-game'
|
this.dialog = 'new-game'
|
||||||
},
|
},
|
||||||
async onNewGame(gameSettings: GameSettings) {
|
async onNewGame(gameSettings: GameSettings) {
|
||||||
const res = await fetch('/newgame', {
|
const res = await fetch('/api/newgame', {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
headers: {
|
headers: {
|
||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue