Commit 4e872c3a authored by JunHyung An's avatar JunHyung An
Browse files

Fixed gitlab pages

parents 690d6698 cc90c68e
Loading
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
image: "node:lts-alpine"

stages:
  - build
  - lint
  - deploy

# global cache settings for all jobs
@@ -25,8 +25,9 @@ before_script:
#   # monorepo users: run secondary install actions
#   - npx lerna bootstrap -- --cache .npm/ --prefer-offline
  

lint:
  stage: build
  stage: lint
  # global cache settings are inherited to grab `node_modules`
  script:  
    - node --version
@@ -40,6 +41,6 @@ pages:
     - npm run build
  artifacts:
    paths:
      - public # where ever your build results are stored
      - public
  rules:
    - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
 No newline at end of file
+4 −4
Original line number Diff line number Diff line
@@ -2,22 +2,22 @@

## Project setup
```
yarn install
npm install
```

### Compiles and hot-reloads for development
```
yarn serve
npm run serve
```

### Compiles and minifies for production
```
yarn build
npm run build
```

### Lints and fixes files
```
yarn lint
npm run lint
```

### Customize configuration
+2 −2
Original line number Diff line number Diff line
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  outputDir: 'public',
  transpileDependencies: true,
  outputDir: 'public',
  publicPath: process.env.NODE_ENV === 'production'
  ? '/frontend/'
  ? process.env.VUE_APP_BASE_URL
  : '/'
})