Anzahl der Beiträge:
113
Karma:
1381
Beigetreten:
13.05.2019
Herkunft:
Armenia
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.
MVP
Zertifizierter Entwickler
Anzahl der Beiträge:
3958
Karma:
35317
Beigetreten:
08.02.2010
Herkunft:
Australia
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 :)
Zertifizierter Entwickler
Anzahl der Beiträge:
41
Karma:
235
Beigetreten:
26.09.2013
Herkunft:
India
@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.
MVP
Zertifizierter Entwickler
Anzahl der Beiträge:
3958
Karma:
35317
Beigetreten:
08.02.2010
Herkunft:
Australia
Sorry I dont know I always just use IIS with domains defined and setup in the Store
Anzahl der Beiträge:
31
Karma:
155
Beigetreten:
14.01.2022
Herkunft:
Saudi Arabia
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!!!!!
Silver Solution Partner
Zertifizierter Entwickler
Anzahl der Beiträge:
332
Karma:
2270
Beigetreten:
02.03.2018
Herkunft:
Norway
Try <!script Instead of <script
Zertifizierter Entwickler
Anzahl der Beiträge:
41
Karma:
235
Beigetreten:
26.09.2013
Herkunft:
India
It won't work in localhost
Silver Solution Partner
Zertifizierter Entwickler
Anzahl der Beiträge:
332
Karma:
2270
Beigetreten:
02.03.2018
Herkunft:
Norway
Works fine here on localhost. I disabled disk cache in appsettings and i dont use iis of course