This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Description
my nuxtent.config.js
module.exports = {
content: [
['blog', {
page: '/blog/_slug',
permalink: "/:slug",
generate: ['get', 'getAll'],
isPost: false
}]
],
api: {
baseURL: process.env.NODE_ENV === 'production'
? 'http://wi-cuckoo.io'
: 'http://localhost:3000'
}
}
my package.json scripts
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "NODE_ENV=production nuxtent generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"precommit": "npm run lint"
}
So When I run npm run generate. Why OPEN http://localhost:3000 ?
> cuckoo@1.0.0 generate /home/wi/bin/wi-cuckoo.gitpage
> NODE_ENV=production nuxtent generate
nuxt:generate Generating... +0ms
[AXIOS] Base URL: http://wi-cuckoo.io/content-api , Browser: http://wi-cuckoo.io/_nuxt/content
OPEN http://localhost:3000
nuxt:build App root: /home/wi/bin/wi-cuckoo.gitpage +0ms