You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[In Search of a new Web Frontend-Framework after 2 Years of absence...](#in-search-of-a-new-web-frontend-framework-after-2-years-of-absence)
36
-
*[Setup Vue.js & Spring Boot](#setup-vuejs--spring-boot)
37
-
*[Project setup](#project-setup)
38
-
*[Backend](#backend)
39
-
*[Frontend](#frontend)
40
-
*[Use frontend-maven-plugin to handle NPM, Node, Bower, Grunt, Gulp, Webpack and so on :)](#use-frontend-maven-plugin-to-handle-npm-node-bower-grunt-gulp-webpack-and-so-on-)
41
-
*[First App run](#first-app-run)
42
-
*[Faster feedback with webpack-dev-server](#faster-feedback-with-webpack-dev-server)
*[HTTP calls from Vue.js to (Spring Boot) REST backend](#http-calls-from-vuejs-to-spring-boot-rest-backend)
45
-
*[The problem with SOP](#the-problem-with-sop)
46
-
*[Enabling Axios CORS support](#enabling-axios-cors-support)
47
-
*[Enabling Spring Boot CORS support](#enabling-spring-boot-cors-support)
48
-
*[But STOP! Webpack & Vue have something much smarter for us to help us with SOP!](#but-stop-webpack--vue-have-something-much-smarter-for-us-to-help-us-with-sop)
49
-
*[Using history mode for nicer URLs](#using-history-mode-for-nicer-urls)
50
-
*[Bootstrap & Vue.js](#bootstrap--vuejs)
51
-
*[Heroku Deployment](#heroku-deployment)
52
-
*[Using Heroku's Postgres as Database for Spring Boot backend and Vue.js frontend](#using-herokus-postgres-as-database-for-spring-boot-backend-and-vuejs-frontend)
53
-
*[Testing](#testing)
54
-
*[Jest](#jest)
55
-
*[Jest Configuration](#jest-configuration)
56
-
*[Integration in Maven build (via frontend-maven-plugin)](#integration-in-maven-build-via-frontend-maven-plugin)
57
-
*[Run Jest tests inside IntelliJ](#run-jest-tests-inside-intellij)
58
-
*[End-2-End (E2E) tests with Nightwatch](#end-2-end-e2e-tests-with-nightwatch)
*[Store login information with vuex](#store-login-information-with-vuex)
77
-
*[Define the vuex state](#define-the-vuex-state)
78
-
*[Define a vuex action login() and the mutations login_success & login_error](#define-a-vuex-action-login-and-the-mutations-login_success--login_error)
79
-
*[Last but not least: define getters for the vuex state](#last-but-not-least-define-getters-for-the-vuex-state)
80
-
*[Use vuex Store inside the Login component and forward to Protected.vue, if Login succeeded](#use-vuex-store-inside-the-login-component-and-forward-to-protectedvue-if-login-succeeded)
81
-
*[Redirect user from Protected.vue to Login.vue, if not authenticated before](#redirect-user-from-protectedvue-to-loginvue-if-not-authenticated-before)
82
-
*[Check auth state at secured backend endpoints](#check-auth-state-at-secured-backend-endpoints)
34
+
## Upgrade procedure
83
35
36
+
Get newest node & npm:
37
+
```shell
38
+
brew upgrade node
39
+
npm install -g npm@latest
40
+
```
41
+
42
+
Update vue-cli
43
+
```shell
44
+
npm install -g @vue/cli
45
+
```
84
46
47
+
Update Vue components/plugins (see https://cli.vuejs.org/migrating-from-v3/#upgrade-all-plugins-at-once)
48
+
```shell
49
+
vue upgrade
50
+
```
85
51
86
52
## In Search of a new Web Frontend-Framework after 2 Years of absence...
0 commit comments