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.
 
 
 
 
 
 

34 rindas
788 B

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