1// Create jsconfig.json in root
2
3{
4 "compilerOptions": {
5 "baseUrl": "./",
6 "paths": {
7 "@components/*": ["components/*"],
8 "@root/*": ["./*"]
9 }
10 }
11}
1const path = require('path');
2
3
4module.exports = {
5 resolve: {
6 alias: {
7 '@': path.resolve('resources/js'),
8 '@Components': path.resolve('resources/js'/Components),
9 },
10 },
11};
12
1{
2 "compilerOptions": {
3 "baseUrl": ".",
4 "paths": {
5 "ClientApp/*": ["./ClientApp/*"]
6 }
7 }
8}