Comments (4)
Thank you @ddsuhaimi, good to know and I might try again
from next-js-boilerplate.
Close this because absolute import should be in compilerOptions value.
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"removeComments": true,
"preserveConstEnums": true,
"strict": true,
"alwaysStrict": true,
"strictNullChecks": true,
"noUncheckedIndexedAccess": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowUnreachableCode": false,
"noFallthroughCasesInSwitch": true,
"target": "es5",
"outDir": "out",
"declaration": true,
"sourceMap": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"allowJs": false,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"jsx": "preserve",
"noEmit": true,
"isolatedModules": true,
"baseUrl": ".",
"paths": {
"@/components/*": ["src/components/*"]
}
},
"exclude": ["./out/**/*", "./node_modules/**/*"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
}
from next-js-boilerplate.
Just my curiosity, does Module path aliases works? When I've tried at the beginning (when the features was released), VSCode lost his auto import feature.
from next-js-boilerplate.
My vscode version is 1.58.2 and I can confirm auto import feature works. Although I did installed several extensions like what what was suggested in .vscode folder. Maybe that helps with auto import.
from next-js-boilerplate.
Related Issues (20)
- Errors with PNPM straight out of the box HOT 7
- Migrating to Vitest HOT 8
- Minor typo HOT 1
- Sign-up and Sign-in meta descriptions should be swapped HOT 1
- Add `.devcontainer/devcontainer.json HOT 5
- Image quality HOT 3
- Custom SignOutButton currently not being used HOT 5
- Confusing naming between Schema and Validation. HOT 6
- Should Intl middleware be applied to API routes? HOT 7
- Error: Cannot find module './sw.js.json' HOT 4
- add additional authentication options (not just clerk) HOT 7
- Sentry Auth token HOT 1
- Guide to remove certain dependencies? HOT 2
- How to integrate state management in Zustand with NextJS HOT 1
- Sitemap HOT 9
- Feature request: Turborepo and Documentation HOT 7
- How can we replace tailwindcss with unocss? HOT 1
- Is possible to dockerize application base on this project ?
- Is possible to dockerize application base on this project ? HOT 1
- How I use SSR? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-js-boilerplate.