Loading scripts in v4.5 creates an error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
The Tag Helper opt-out character ("!") should work when we use it razor outputs a target tag as is. I have no idea why you face it. It might be related to browser caching. Let's try to add cache busting for the script path just to be sure.
2 years ago
Ok I just setup Visual Studio using IIS and a domain name and this works

<!script src="/Plugins/SSI.Editor.CKEditor/Scripts/ckeditor/ckeditor.js"></!script>

Seems there is only an issue using IIS Express

thanks for your help :)
1 year ago
Nevermind this post.
1 year ago
@Yidna sir,

Have you find a way to test js code with IIS Express and VS for local environment ?
or its best to use file available from internet ?

Thanks in advance.
1 year ago
Sorry I dont know
I always just use IIS with domains defined and setup in the Store
1 year ago
I fetch the error when try to load js and css files.
In nopcommecre 4.40 I was use simple way to call it
<link rel="stylesheet" href="~/Plugins/Payments.NamePayment/Content/file.css" />
<script src="~/Plugins/Payments.NamePayment/Scripts/file.js"></script>

But in nopcommecre 4.50 didn't work!!!!!
1 year ago
Try <!script
Instead of <script
1 year ago
It won't work in localhost
1 year ago
Works fine here on localhost.

I disabled disk cache in appsettings and i dont use iis of course
1 year ago
hkbits wrote:
Try <!script
Instead of <script


Didn't work with me in local host
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.