# app/pages/NotFound/index.coffee # Добавление стилей страницы if globalThis.stylFns and globalThis.stylFns['app/pages/NotFound/index.styl'] styleElement = document.createElement('style') styleElement.type = 'text/css' styleElement.textContent = globalThis.stylFns['app/pages/NotFound/index.styl'] document.head.appendChild(styleElement) else log '⚠️ Стили страницы 404 не найдены' module.exports = { props: domainSettings: type: Object default: -> {} language: type: String default: 'ru' methods: goHome: -> @$router.push '/' goBack: -> @$router.back() render: (new Function '_ctx', '_cache', globalThis.renderFns['app/pages/NotFound/index.pug'])() }