Fix assets folder workspace (#2821)
* Fix the asset folder location in workspaces * Fix where the asset folder is copied to in fullstack builds
This commit is contained in:
1 parent
0bb81aba6e
commit
f10ba975ba
2 files changed
+2
-2
No files matched your search
@@ -180,7 +180,7 @@ impl DioxusCrate {
|
||||
/// Compose an asset directory. Represents the typical "public" directory
|
||||
/// with publicly available resources (configurable in the `Dioxus.toml`).
|
||||
pub fn asset_dir(&self) -> PathBuf {
|
||||
self.workspace_dir()
|
||||
self.crate_dir()
|
||||
.join(&self.dioxus_config.application.asset_dir)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user