Added Pipeline for deploying to github actions (#1)
* added deployment for frontent github pages * whitelisted feature branch for now * added 404.vue page and adjusted config * building now with github pages preset * set fallback option to true * set target option * removing env for now * added root page * added deploy * adjusted workflow * removed options
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-11-01',
|
||||
devtools: { enabled: true },
|
||||
modules: ['@nuxt/eslint', '@nuxt/test-utils', '@nuxt/ui']
|
||||
})
|
||||
compatibilityDate: '2024-11-01',
|
||||
devtools: { enabled: true },
|
||||
modules: ['@nuxt/eslint', '@nuxt/test-utils', '@nuxt/ui'],
|
||||
app: {
|
||||
baseURL: process.env.BASE_URL,
|
||||
},
|
||||
})
|
||||
|
||||
12
web/pages/404.vue
Normal file
12
web/pages/404.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
404 not found
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<style scoped></style>
|
||||
12
web/pages/index.vue
Normal file
12
web/pages/index.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
indx
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<style scoped></style>
|
||||
Reference in New Issue
Block a user