Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

28 rindas
566 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: ['style-loader', '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. };