From 7b7cca7356f29b492996b31928f0684710e19f46 Mon Sep 17 00:00:00 2001 From: Alexandre Villeneuve <haleksviller@gmail.com> Date: Fri, 31 Mar 2017 19:52:41 -0400 Subject: [PATCH] Update README.md --- .gitlab-ci.yml | 10 ++++------ README.md | 18 ++++++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e6e526..95de64a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,17 +3,15 @@ image: node before_script: - npm install -pages: - cache: - paths: - - node_modules/ +cache: + paths: + - node_modules/ +pages: script: - npm run generate - artifacts: paths: - public - only: - master diff --git a/README.md b/README.md index 8fa5c12..24830bb 100644 --- a/README.md +++ b/README.md @@ -31,18 +31,16 @@ image: node before_script: - npm install -pages: - cache: - paths: - - node_modules/ +cache: + paths: + - node_modules/ +pages: script: - npm run generate - artifacts: paths: - public - only: - master ``` @@ -65,6 +63,14 @@ step: just rename your project to `namespace.gitlab.io`, where `namespace` is your `username` or `groupname`. This can be done by navigating to your project's **Settings**. +Also, please remove the entry containing the baseurl of your site on the file `nuxt.config.js`: + +```javascript +router: { + base: '/nuxt/' +}, +``` + Read more about [user/group Pages][userpages] and [project Pages][projpages]. ## Did you fork this project? -- GitLab