Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative module not found. #1

Closed
IMB11 opened this issue Mar 6, 2022 · 3 comments
Closed

Relative module not found. #1

IMB11 opened this issue Mar 6, 2022 · 3 comments

Comments

@IMB11
Copy link

IMB11 commented Mar 6, 2022

 ERROR  Failed to compile with 1 error                                                                          17:00:16

This relative module was not found:

* ../config/config in ./node_modules/tauri-settings/dist/fs/load-save.js

Followed install instructions as in readme.

main.js vue

const settingsManager = new SettingsManager({
  "ip": "NOT-SET",
  "theme": "dark"
});

Vue.prototype.$tauri.settings = settingsManager;

... new vue stuff

App.vue

const ipAddress = await $tauri.settings.get("ip");
@harshkhandeparkar
Copy link
Owner

On it.

@harshkhandeparkar
Copy link
Owner

@IMB11
Copy link
Author

IMB11 commented Mar 6, 2022

Confirmed - thanks :)

@IMB11 IMB11 closed this as completed Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants