Project Template for "Basic App" does not recognize RouteLoader [๐]
someramsey opened this issue ยท 1 comments
Which component is affected?
Starters / CLI
Describe the bug
Using npm create qwik@latest
with the Basic App Template creates a faulty project.
Even when none of the files are changed from the created template, Eslint still shows warnings about the RouteLoader when opening the project using VSCode.
'routeLoader$() are typically declared in route boundary files such as layout.tsx, index.tsx and plugin.tsx inside the src/routes...
The defined RouteLoader of the template is already inside the src/routes/layout.tsx
file as the eslint rule suggests however the warning still persists.
Reproduction
https://github.com/someramsey/qwick-test-app.git
Steps to reproduce
Run npm create qwik@latest
Wait for Eslint to wake up
Open the directory on VSCode as the root workspace dir
System Info
System:
OS: Windows 11 10.0.22631
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 6.62 GB / 15.77 GB
Binaries:
Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (123.0.2420.97)
Chrome: 124.0.6367.91
Additional Information
The issue is possibly a local problem caused by this version of the Eslint Extension for VsCode