Skip to content

Commit 29e8778

Browse files
author
aligneddev
committed
trying to fix
1 parent 89fc958 commit 29e8778

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

src/BikeTracking.Frontend/src/pages/signup/signup-page.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import { customElement } from '@aurelia/runtime-html';
2-
import template from './signup-page.html?raw';
31
import {
42
identifyUser,
53
signupUser,
64
type ErrorResponse,
75
type ThrottleResponse,
86
} from '../../services/users-api';
97

10-
@customElement({ name: 'signup-page', template })
118
export class SignupPage {
129
public signupName = '';
1310
public signupPin = '';

src/BikeTracking.Frontend/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"moduleResolution": "node",
55
"skipLibCheck": true,
66
"target": "ES2017",
7+
"experimentalDecorators": true,
78
"esModuleInterop": true,
89
"resolveJsonModule": true,
910
"importHelpers": true,

src/BikeTracking.Frontend/vite.config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ export default defineConfig({
2121
}),
2222
nodePolyfills(),
2323
],
24-
});
24+
resolve: {
25+
alias: {
26+
'@': '/src', // Path aliasing
27+
}
28+
},
29+
css: {
30+
modules: {
31+
localsConvention: 'camelCase' // CSS Modules support
32+
}
33+
}
34+
});

0 commit comments

Comments
 (0)