Skip to content

Towards a SPA frontend#2

Open
AustinMontoya wants to merge 3 commits intodanludwig:masterfrom
AustinMontoya:master
Open

Towards a SPA frontend#2
AustinMontoya wants to merge 3 commits intodanludwig:masterfrom
AustinMontoya:master

Conversation

@AustinMontoya
Copy link
Copy Markdown

Major changes:

  • Code that was previously in cshtml files moved into es6 modules
  • Code in app-scripts.js moved to utils.js
  • Entire app has a single entry point, lib/app.js
  • Webpack is bundling the modules, transpiling es6 -> es5, providing sourcemaps, and outputting to single file
  • Webpack is also compiling the CSS
  • Bower dependencies moved to NPM deps

The main question I have now is whether you want to take this any further. It will be significantly more time-consuming to refactor to a "real" SPA at this point, so this might be a stepping stone towards the ideal solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant