From 49765372cd1ccdf80620881a5cf2b57fc6274ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Mon, 18 May 2020 12:15:32 +0200 Subject: [PATCH] feat: prepare for Nuxt 2.13 --- README.md | 3 + .../template/nuxt/components/Logo.vue | 1 + .../template/nuxt/layouts/default.vue | 2 +- .../cna-template/template/nuxt/nuxt.config.js | 10 + .../cna-template/template/nuxt/package.json | 3 +- .../template/nuxt/pages/index.vue | 17 +- packages/create-nuxt-app/lib/prompts.js | 10 + .../test/snapshots/index.test.js.md | 691 +++++++++++++++++- .../test/snapshots/index.test.js.snap | Bin 6970 -> 7311 bytes 9 files changed, 684 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 831758b96..603932d09 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,9 @@ yarn create nuxt-app 1. Choose rendering mode - [Universal (SSR / Static)](https://nuxtjs.org/guide/#server-rendered-universal-ssr-) - [SPA](https://nuxtjs.org/guide/#single-page-applications-spa-) +1. Choose target + - [Server (Node.js hosting)](https://nuxtjs.org/api/configuration-target) + - [Static (Static/JAMStack hosting)](https://nuxtjs.org/api/configuration-target) 1. Choose development tools - [jsconfig.json](https://code.visualstudio.com/docs/languages/jsconfig) - [Semantic PR](https://probot.github.io/apps/semantic-pull-requests/) diff --git a/packages/cna-template/template/nuxt/components/Logo.vue b/packages/cna-template/template/nuxt/components/Logo.vue index 2134e93d2..9167a74ac 100644 --- a/packages/cna-template/template/nuxt/components/Logo.vue +++ b/packages/cna-template/template/nuxt/components/Logo.vue @@ -17,6 +17,7 @@ +