Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

webpack.config.js 548 B

1 rok temu
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. };