pwa 관련 강좌에서 새로 vue.config.js를 생성하라고 하셔서요 기존에 vue 설치할때 자동생성 된 파일 같아요
pwa 설정을 아래와 같이 추가할려면
module.exports = { pwa: { name: '님 앱이름', themeColor: '#4DBA87', msTileColor: '#000000', workboxOptions: { exclude: [/\.map$/, /manifest\.json$/, 'index.html'] } } }
기존 소스에서 어떻게 추가하면 될까요?
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave : false
})