Всего сообщений:
113
Карма:
1381
Присоединился:
13.05.2019
Страна:
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
Сертифицированный разработчик
Всего сообщений:
3958
Карма:
35317
Присоединился:
08.02.2010
Страна:
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 :)
Сертифицированный разработчик
Всего сообщений:
41
Карма:
235
Присоединился:
26.09.2013
Страна:
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
Сертифицированный разработчик
Всего сообщений:
3958
Карма:
35317
Присоединился:
08.02.2010
Страна:
Australia
Sorry I dont know I always just use IIS with domains defined and setup in the Store
Всего сообщений:
31
Карма:
155
Присоединился:
14.01.2022
Страна:
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-партнер по запуску магазинов
Сертифицированный разработчик
Всего сообщений:
332
Карма:
2270
Присоединился:
02.03.2018
Страна:
Norway
Try <!script Instead of <script
Сертифицированный разработчик
Всего сообщений:
41
Карма:
235
Присоединился:
26.09.2013
Страна:
India
It won't work in localhost
Silver-партнер по запуску магазинов
Сертифицированный разработчик
Всего сообщений:
332
Карма:
2270
Присоединился:
02.03.2018
Страна:
Norway
Works fine here on localhost. I disabled disk cache in appsettings and i dont use iis of course