https://github.com/benmwendwa/nuxt-app.git
I've been working with vue for a while but it is mu first time trying NuxtJs
I'm using macbook pro, macOS catalina v10.15.1
Create a new app npx create-nuxt-app test-app
? Choose the package manager Yarn
? Choose UI framework None
? Choose custom server framework None (Recommended)
? Choose Nuxt.js modules (Press
? Choose linting tools ESLint, Prettier, Lint staged files, StyleLint
? Choose test framework None
? Choose rendering mode Universal (SSR)
cd into the app and run yarn dev
ℹ Preparing project for development 17:57:19
ℹ Initial build may take a while 17:57:19
✔ Builder initialized 17:57:19
✔ Nuxt files generated 17:57:19
â—¯ Client
✔ Server
Compiled successfully in 1.27s
(client won't be compiles and when I open http://localhost:3000/ the page is stuck on loading page
Client side is not being compiled.
Why is this not showing the pages? even when I update them
Or could I be missing something?
I think the cause could be StyleLint, when I don't select that it works well.
I think same issue
nuxt/nuxt.js#6730
I think the cause could be StyleLint, when I don't select that it works well.
Or put a valid config inside stylelint.config.js…
I think the cause could be StyleLint, when I don't select that it works well.
Or put a valid config inside
stylelint.config.js…
I can confirm that
A) This is broken out of the box
B) The empty style lint.config.js _is_ the culprit.
Currently the installed style lint.config.js looks like this:
module.exports = {
// add your custom config here
// https://stylelint.io/user-guide/configuration
}
A blank default should instead look like this:
module.exports = {
"rules": {
// add your custom config here
// https://stylelint.io/user-guide/configuration
}
}
I confirmed that the latter config file is the minimum required to properly build the client
The same problem, I removed stylelint and finally it works.
Most helpful comment
I can confirm that
A) This is broken out of the box
B) The empty style lint.config.js _is_ the culprit.
Currently the installed style lint.config.js looks like this:
A blank default should instead look like this:
I confirmed that the latter config file is the minimum required to properly build the client