Skip to content

Commit

Permalink
add mode full static nuxt
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosirera committed Jul 2, 2020
1 parent 0aeebfb commit c3bf3a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export default {
** See https://nuxtjs.org/api/configuration-mode
*/
mode: 'universal',
target: 'static',
/*
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"build": "nuxt build && nuxt export",
"start": "nuxt start",
"generate": "nuxt generate",
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
Expand Down Expand Up @@ -48,4 +48,4 @@
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0"
}
}
}

0 comments on commit c3bf3a4

Please sign in to comment.