refactor web-map to be SPA

This commit is contained in:
Adam 2022-09-09 17:21:09 +02:00
parent de419aeae8
commit a84c4a2f76
17 changed files with 329 additions and 267 deletions

View file

@ -15,41 +15,5 @@ config.performance = {
},
};
// // dev server
// config.devServer = {
// open: false,
// // devMiddleware: {
// // index: false, // specify to enable root proxying
// // },
// port: 3000,
// proxy: {
// // context: () => true,
// // target: "http://localhost:12080",
// // secure: false,
// // ws: true,
// // changeOrigin: true,
//
// // "/tiles": {
// // target: "http://localhost:12080",
// // // "pathRewrite": { "^/tiles": "" },
// // // "logger": "console",
// // // "logLevel": "debug",
// // secure: false,
// // changeOrigin: true,
// // },
// // "/ws": {
// // target: "http://localhost:12080",
// // // pathRewrite: { "^/ws": "" },
// // // "logLevel": "debug",
// // // "logger": "console",
// // secure: false,
// // ws: true,
// // changeOrigin: true,
// // },
// },
// "static": [
// // "../../processedResources/js/main",
// "D:\\Users\\Adam\\Projects\\games\\kafkatorio\\modules\\web-map\\build\\processedResources\\frontend\\main",
// ],
// };
// required for single-page app
config.devServer.historyApiFallback = true