Skip to content

Commit 81bfd21

Browse files
authored
Merge pull request #204 from jonashackt/upgrade-frontend-deps
Upgrade frontend deps
2 parents 33d7811 + 1d86d2d commit 81bfd21

File tree

4 files changed

+26526
-31327
lines changed

4 files changed

+26526
-31327
lines changed

README.md

Lines changed: 15 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -31,57 +31,23 @@ This project is used as example in a variety of articles & as eBook:
3131

3232
[blog.codecentric.de/en/2018/04/spring-boot-vuejs](https://blog.codecentric.de/en/2018/04/spring-boot-vuejs) | [JavaMagazin 8.2018](https://jaxenter.de/ausgaben/java-magazin-8-18) | [entwickler.press shortcuts 229](https://www.amazon.com/Vue-js-f%C3%BCr-alle-Wissenswertes-Einsteiger-ebook/dp/B07HQF9VX4/ref=sr_1_1?ie=UTF8&qid=1538484852&sr=8-1&keywords=Vue-js-f%C3%BCr-alle-Wissenswertes-Einsteiger-ebook) | [softwerker Vol.12](https://info.codecentric.de/softwerker-vol-12)
3333

34-
## Table of Contents
35-
* [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)
43-
* [Browser developer tools extension](#browser-developer-tools-extension)
44-
* [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)
59-
* [Write Nightwatch tests](#write-nightwatch-tests)
60-
* [NPM Security](#npm-security)
61-
* [Shift from templates to plugin-based architecture in Vue Cli 3](#shift-from-templates-to-plugin-based-architecture-in-vue-cli-3)
62-
* [OMG! My package.json is so small - Vue CLI 3 Plugins](#omg-my-packagejson-is-so-small---vue-cli-3-plugins)
63-
* [The vue.config.js file](#the-vueconfigjs-file)
64-
* [Build and run with Docker](#build-and-run-with-docker)
65-
* [Autorelease to Docker Hub on hub.docker.com](#autorelease-to-docker-hub-on-hubdockercom)
66-
* [Run with JDK 8, 9 or 11ff](#run-with-jdk-8-9-or-11-ff)
67-
* [Secure Spring Boot backend and protect Vue.js frontend](#secure-spring-boot-backend-and-protect-vuejs-frontend)
68-
* [Secure the backend API with Spring Security](#secure-the-backend-api-with-spring-security)
69-
* [Configure Spring Security](#configure-spring-security)
70-
* [Be aware of CSRF!](#be-aware-of-csrf)
71-
* [Testing the secured Backend](#testing-the-secured-backend)
72-
* [Configure credentials inside application.properties and environment variables](#configure-credentials-inside-applicationproperties-and-environment-variables)
73-
* [Protect parts of Vue.js frontend](#protect-parts-of-vuejs-frontend)
74-
* [Create a new Vue Login component](#create-a-new-vue-login-component)
75-
* [Protect multiple Vue.js components](#protect-multiple-vuejs-components)
76-
* [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
8335

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+
```
8446

47+
Update Vue components/plugins (see https://cli.vuejs.org/migrating-from-v3/#upgrade-all-plugins-at-once)
48+
```shell
49+
vue upgrade
50+
```
8551

8652
## In Search of a new Web Frontend-Framework after 2 Years of absence...
8753

0 commit comments

Comments
 (0)