Wails CLI v2.3.1
Scanning system - Please wait (this may take a long time)...Done.
# System
OS | MacOS
Version | 10.14.6
ID | 18G9323
Go Version | go1.19.4
Platform | darwin
Architecture | amd64
# Wails
Version | v2.3.1
# Dependencies
Dependency | Package Name | Status | Version
Xcode command line tools | N/A | Installed | 2354
npm | N/A | Installed | 7.15.1
*Xcode | N/A | Available |
*upx | N/A | Installed | upx 3.96
*nsis | N/A | Available |
* - Optional Dependency
# Diagnosis
Your system is ready for Wails development!
Optional package(s) installation details:
- Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
- nsis : More info at https://wails.io/docs/guides/windows-installer/
♥ If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
Description
I import layui-vue (layui-vue.com) in wails ,but is error when I use it.
To Reproduce
down layui-vue
use it in wails project
Expected behaviour
npm install as :
npm install @layui/layui-vue --save
load it like this: import Layui from '@layui/layui-vue' import '@layui/layui-vue/lib/index.css'const app = createApp(App); // app.component("LayButton", LayButton); // app.component("LayTable", LayTable);
app.use(router); app.use(Layui); app.mount("#app");
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response