-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I have no idea what I'm doing wrong. The Nuxt server isn't producing the spa.html file. It's not throwing any error messages either:
$ npm run development
> industrial@1.0.0 development /home/jay/Documents/industrial
> cross-env NODE_ENV=development nodemon server.js --watch server
[nodemon] 1.19.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): server
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.js`
Laravel development server started: http://127.0.0.1:3001
[Thu Jun 18 17:11:34 2020] PHP 7.4.7 Development Server (http://127.0.0.1:3001) started
ℹ Preparing project for development
ℹ Initial build may take a while
✔ Builder initialized
✔ Nuxt files generated
✔ Client
Compiled successfully in 17.70s
ℹ Waiting for file changes
Server listening on http://localhost:3000.
Here's my nuxt.config.js object, stripped down to remove all other dependencies:
{
mode: 'spa',
dev: _isDevelopment,
vue: {
config: {
debug: _isDevelopment,
productionTip: false,
devtools: _isDevelopment,
},
},
laravel: {
dotEnvExport: false
},
head: {
title: process.env.npm_package_name || '',
meta: [{
charset: 'utf-8',
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1',
},
{
hid: 'description',
name: 'description',
content: process.env.npm_package_description || '',
},
],
link: [{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
}],
},
loading: { color: '#fff', },
css: [],
plugins: [ ],
buildModules: [
'@nuxtjs/eslint-module',
],
modules: [
'nuxt-laravel',
],
components: [ ],
build: { extend(config, ctx) {}, },
}
Metadata
Metadata
Assignees
Labels
No labels