This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
forked from TiagoDanin/Nuxt-SEO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test (nuxt): add basic test for static generated content
also extend all route-tests to count number of occurrences for no-content meta tags, e.g. `charset` rel: TiagoDanin#96
- Loading branch information
Showing
3 changed files
with
58 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,5 @@ typings/ | |
|
||
# Nuxt | ||
example/.nuxt | ||
example/.nuxtStatic | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const path = require('path') | ||
const baseConfig = require('./nuxt.config') | ||
|
||
const buildDir = path.resolve(__dirname, '.nuxtStatic') | ||
|
||
module.exports = { | ||
...baseConfig, | ||
generate: { | ||
dir: `${buildDir}/_static` | ||
}, | ||
buildDir, | ||
target: 'static' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters