dazhuang
521a53d4f6
fix: add path alias configuration in vite.config.js
- Fix 'Failed to resolve import @/stores/function' error
- Add '@' alias pointing to './src' directory
- Enable cleaner import paths in Vue components
Before:
import { useFunctionStore } from '@/stores/function' // Error!
After:
import { useFunctionStore } from '@/stores/function' // Works!
Changes:
- Import 'path' module
- Configure resolve.alias in vite.config.js
- Add fix documentation
2026-03-22 02:59:20 +00:00
..
2026-03-21 14:23:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-21 14:23:20 +00:00
2026-03-22 02:59:20 +00:00