Tổng Bài đăng:
113
Karma:
1381
Đã tham gia:
13/05/2019
Vị trí:
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
Các lập trình viên được chứng nhận
Tổng Bài đăng:
3958
Karma:
35317
Đã tham gia:
08/02/2010
Vị trí:
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 :)
Các lập trình viên được chứng nhận
Tổng Bài đăng:
41
Karma:
235
Đã tham gia:
26/09/2013
Vị trí:
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
Các lập trình viên được chứng nhận
Tổng Bài đăng:
3958
Karma:
35317
Đã tham gia:
08/02/2010
Vị trí:
Australia
Sorry I dont know I always just use IIS with domains defined and setup in the Store
Tổng Bài đăng:
31
Karma:
155
Đã tham gia:
14/01/2022
Vị trí:
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!!!!!
Đối tác giải pháp Bạc
Các lập trình viên được chứng nhận
Tổng Bài đăng:
332
Karma:
2270
Đã tham gia:
02/03/2018
Vị trí:
Norway
Try <!script Instead of <script
Các lập trình viên được chứng nhận
Tổng Bài đăng:
41
Karma:
235
Đã tham gia:
26/09/2013
Vị trí:
India
It won't work in localhost
Đối tác giải pháp Bạc
Các lập trình viên được chứng nhận
Tổng Bài đăng:
332
Karma:
2270
Đã tham gia:
02/03/2018
Vị trí:
Norway
Works fine here on localhost. I disabled disk cache in appsettings and i dont use iis of course