0

Dynamsoft.DWT.ResourcesPath = "dwt-resources"

Packege.json

"scripts": {
  "dev": "ncp node_modules/dwt/dist static/dwt-resources && nuxt",
  "build": "nuxt build",
  "start": "nuxt start",
  "generate": "nuxt generate && ncp node_modules/dwt/dist dist/dwt-resources"
}

I use framwork nuxt js but error get path.

kissu
  • 40,416
  • 14
  • 65
  • 133
  • 1
    Alright, please give us more context and debugging info than just this please. What even is `dwt-resources`? – kissu May 11 '21 at 16:25

1 Answers1

0

The resource folder is located at the root directory of the project.

So change

Dynamsoft.DWT.ResourcesPath = "dwt-resources"

to

Dynamsoft.DWT.ResourcesPath = "/dwt-resources"
yushulx
  • 11,695
  • 8
  • 37
  • 64