Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

28 lines
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. };