Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

28 satır
548 B

  1. const { VueLoaderPlugin } = require('vue-loader')
  2. const path = require('path');
  3. module.exports = {
  4. entry: './main.js',
  5. output: {
  6. path: path.resolve(__dirname, 'assets'),
  7. filename: 'app.js'
  8. },
  9. module: {
  10. rules: [
  11. {test: /\.vue$/, use: 'vue-loader'},
  12. {test: /\.css$/, use: 'css-loader'}
  13. ]
  14. },
  15. devServer: {
  16. static: './assets',
  17. proxy: {
  18. '*': {target: 'http://localhost:8001',
  19. secure: false,
  20. changeOrigin: true
  21. }
  22. }
  23. },
  24. // Required for also applying rules to sections of SFC
  25. plugins: [new VueLoaderPlugin()],
  26. };