25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vue.config.js 841 B

12345678910111213141516171819202122232425262728293031323334
  1. module.exports = {
  2. devServer: {
  3. proxy: {
  4. '/api': {
  5. target: 'http://localhost:8000/',
  6. changeOrigin: true,
  7. ws: true,
  8. },
  9. '/static/media': {
  10. target: 'http://localhost:8000/',
  11. changeOrigin: true,
  12. },
  13. '/static/js/': {
  14. target: 'http://localhost:8000/',
  15. changeOrigin: true,
  16. },
  17. },
  18. },
  19. pwa: {
  20. name: 'Pinry Mobile',
  21. appleMobileWebAppCapable: 'yes',
  22. appleMobileWebAppStatusBarStyle: 'black',
  23. // configure the workbox plugin
  24. workboxPluginMode: 'GenerateSW',
  25. iconPaths: {
  26. favicon32: 'favicon.png',
  27. favicon16: 'favicon.png',
  28. appleTouchIcon: 'favicon.png',
  29. // FIXME(winkidney): Add svg file for safari
  30. // maskIcon: 'img/icons/safari-pinned-tab.svg',
  31. msTileImage: 'favicon.png',
  32. },
  33. },
  34. };