Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

webpack.config.js 548 B

1 anno fa
123456789101112131415161718192021222324252627
  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. };