Skip to content

Commit

Permalink
hosting config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaru Cao authored and Jiaru Cao committed Mar 17, 2021
1 parent 3300e17 commit 6a92b4c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default Vue.extend({
</script>

<template>
<a :href="APP" class="logo" @click="onClick">
<a :href="APP" class="logo">
<Logo class="smallLogo" />
</a>
</template>
Expand Down
4 changes: 4 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
export default {
// Global page headers: https://go.nuxtjs.dev/config-head
target: 'static',
router: {
base: '/htn-frontend-challenge/'
},
head: {
title: "HTN Events",
htmlAttrs: {
Expand Down
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"generate": "nuxt-ts generate",
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint": "npm run lint:js",
"test": "jest"
"test": "jest",
"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup"
},
"dependencies": {
"@nuxt/typescript-runtime": "^2.0.1",
Expand All @@ -19,7 +20,7 @@
"bootstrap-vue": "^2.21.2",
"core-js": "^3.8.3",
"graphql-tag": "^2.11.0",
"nuxt": "^2.14.12",
"nuxt": "^2.15.3",
"svg-to-vue-component": "^0.3.8"
},
"devDependencies": {
Expand All @@ -35,6 +36,7 @@
"eslint-plugin-nuxt": "^2.0.0",
"eslint-plugin-vue": "^7.5.0",
"jest": "^26.6.3",
"push-dir": "^0.4.1",
"ts-jest": "^26.4.4",
"vue-jest": "^3.0.4"
}
Expand Down

0 comments on commit 6a92b4c

Please sign in to comment.