Warcraft 3 Demo Module "demo-hello-user" for WLPM
wlpm install https://github.com/Indaxia/wlpm-wc3-demo-hello-user 1.0
OR add a new property in your wlpm-package.json and run wlpm update build
"dependencies": {
"https://github.com/Indaxia/wlpm-wc3-demo-hello-user": "1.0"
}
WM("myModule", function(import, export, exportDefault) -- declare your main module
local greeting = import "demo-hello-user"
print (greeting("Scorpy"))
end)
local greeting = importWM "demo-hello-user"
print (greeting("Scorpy"))