-
https://vite.dev/config/shared-options.html#resolve-alias // vite.config.js
import { defineConfig } from 'vite';
import path from 'path';
export default defineConfig({
resolve: {
alias: {
'@': path.resolve(__dirname, 'src')
}
}
}); import MyComponents from "@/components/mycomponents.vue" If it is not supported now, I hope it will become a new feature; import { MainWindow } from "@/components/main-windows.slint" |
Beta Was this translation helpful? Give feedback.
Answered by
mcitem
Dec 12, 2024
Replies: 1 comment
Answer selected by
mcitem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.rs/slint-build/latest/slint_build/struct.CompilerConfiguration.html#method.with_library_paths