Update dependencies, refactor authentication, and enhance UI components
- Upgraded @reduxjs/toolkit to version 2.9.0 and added new dependencies including @techniker-me/pcast-api and moment. - Refactored authentication logic and added middleware for improved request handling. - Introduced new UI components such as buttons, loaders, and forms, along with a theme system following SOLID principles. - Updated routing to include protected routes and improved the login form with better error handling. - Removed unused CSS and organized the project structure for better maintainability.
This commit is contained in:
@@ -11,7 +11,7 @@ export default defineConfig({
|
||||
react(),
|
||||
babel({
|
||||
babelConfig: {
|
||||
plugins: ['transform-amd-to-commonjs']
|
||||
plugins: ['transform-amd-to-commonjs', 'babel-plugin-styled-components']
|
||||
}
|
||||
})
|
||||
],
|
||||
@@ -26,6 +26,7 @@ export default defineConfig({
|
||||
routers: path.resolve(process.cwd(), 'src', 'routers'),
|
||||
store: path.resolve(process.cwd(), 'src', 'store'),
|
||||
services: path.resolve(process.cwd(), 'src', 'services'),
|
||||
theme: path.resolve(process.cwd(), 'src', 'theme'),
|
||||
lang: path.resolve(process.cwd(), 'src', 'lang'),
|
||||
utility: path.resolve(process.cwd(), 'src', 'utility'),
|
||||
views: path.resolve(process.cwd(), 'src', 'views')
|
||||
|
||||
Reference in New Issue
Block a user