Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Clicking on Any link is giving error


Hi Team,

I have downloaded the latest version and started using "npm run localhost --demo1". I'm using

I'm able to access the URL at "http://localhost:8080/dist/"

But When I click any link in the menu, it is giving the error.

For example when I clicked on "Crafted" - > "Authentication" -> "Basic Layout" -> "Sign-In", it gives me the below error.

The URL is going to http://localhost:8080/demo1/dist/authentication/layouts/basic/sign-in.html

and I'm getting the below error:

Cannot GET /demo1/dist/authentication/layouts/basic/sign-in.html

Ideally it should go to

http://localhost:8080/dist/authentication/layouts/basic/sign-in.html (Without /demo1/)

Please let me know what I have to do to fix this issue?

Regards,
Phani


Text formatting options
Submit

Replies (1)


Hi Phani,

Thank you for your feedback. We will fix this issue in the next version soon.

In the file, /html/tools/webpack.config.js, please update with these values.


devServer: {
contentBase: rootPath,
compress: true,
port: 8080,
},


Run command npm run localhost --demo1

Then go to http://localhost:8080/demo1/dist/

Thanks


Text formatting options
Submit
Text formatting options
Submit