\r\n \u003C/template>\r\n \u003Ctemplate #right>\r\n \u003Cslot name=\"right\" />\r\n \u003C/template>\r\n \u003Cslot />\r\n \u003C/UPage>\r\n \u003C/UContainer>\r\n\u003C/template>\r\n\u003Cscript setup lang=\"ts\">\r\nimport { defineBlock } from \"#pruvious\";\r\ndefineBlock({\r\n slots: {\r\n left: {},\r\n right: {},\r\n default: {},\r\n },\r\n});\r\n\u003C/script>\r\n```\r\nThe problem is when I fill only `default` slot in Pruvious page editor `/dashboard/collections/pages/`, the `left` and `right` slots are rendered too. If I could check is block slot used, than I could solve it something like this:\r\n```html\r\n\u003C!-- ~/blocks/PageRoot.vue -->\r\n\u003Ctemplate>\r\n \u003CUContainer>\r\n \u003CUPage>\r\n \u003Ctemplate v-if=\"block.slots.left?.length\" #left>\r\n \u003Cslot name=\"left\" />\r\n \u003C/template>\r\n \u003Ctemplate v-if=\"block.slots.right?.length\" #right>\r\n \u003Cslot name=\"right\" />\r\n \u003C/template>\r\n \u003Cslot />\r\n \u003C/UPage>\r\n \u003C/UContainer>\r\n\u003C/template>\r\n\u003Cscript setup lang=\"ts\">\r\nimport { defineBlock } from \"#pruvious\";\r\nconst block = defineBlock({\r\n slots: {\r\n left: {},\r\n right: {},\r\n default: {},\r\n },\r\n});\r\n\u003C/script>\r\n```\r\nAny idea how to solve this?",[],82,"`Blocks`: How to check is any block passed to slot?","2024-12-08T16:22:56Z","https://github.com/pruvious/pruvious/issues/82",0.76902163,{"description":3047,"labels":3048,"number":3049,"owner":3009,"repository":3009,"state":3010,"title":3050,"updated_at":3051,"url":3052,"score":3053},"Node: v20.11.1\r\nnpm: 10.2.4\r\nyarn: both classic(v1) and stable(v4)\r\npruvious: 3.10.7\r\nnuxt: 3.10.3\r\n\r\nI get the error below when i run `npm run dev` or `yarn dev` on a fresh install of pruvious on navigating to `localhost:3000` which just loads:\r\n\r\n```sh\r\n ERROR [unhandledRejection] socket hang up\r\n\r\n at connResetException (node:internal/errors:787:14)\r\n at Socket.socketOnEnd (node:_http_client:519:23)\r\n at Socket.emit (node:events:530:35)\r\n at endReadableNT (node:internal/streams/readable:1696:12)\r\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\r\n```",[],14,"ERROR [unhandledRejection] socket hang up","2024-04-17T12:18:22Z","https://github.com/pruvious/pruvious/issues/14",0.77756226,{"description":3055,"labels":3056,"number":3057,"owner":3009,"repository":3009,"state":3010,"title":3058,"updated_at":3059,"url":3060,"score":3061},"Today collections need to be written in .ts files to work, I would like to be able to use .js",[],39,"Allow collections in .js","2024-07-28T12:14:30Z","https://github.com/pruvious/pruvious/issues/39",0.7913693,{"description":3063,"labels":3064,"number":1989,"owner":3009,"repository":3009,"state":3065,"title":3066,"updated_at":3067,"url":3068,"score":3069},"Hi,\r\n\r\nIn my collection I'm trying to use the [Slider](https://pruvious.com/docs/fields/slider) field type, this is my code:\r\n\r\n```ts\r\nimport { defineCollection } from \"#pruvious\";\r\n\r\nexport default defineCollection({\r\n name: \"categories\",\r\n mode: \"multi\",\r\n translatable: true,\r\n fields: {\r\n title: {\r\n type: \"text\",\r\n options: {\r\n required: true,\r\n },\r\n },\r\n difficulty: {\r\n type: \"slider\",\r\n options: {\r\n required: true,\r\n max: 5,\r\n default: 3,\r\n marks: true,\r\n input: false,\r\n },\r\n },\r\n },\r\n});\r\n```\r\n\r\nWhen I try to access the category within the dashboard (on url **/categories/4**), i get a blank screen and this error in the console log:\r\n\r\n\r\nThe default value of the difficulty field is getting displayed correctly on the frontend tho (which is value 3). \r\n\r\nI'm using Pruvious version **3.11.7**\r\n",[],"closed","Slider Field Type Causes Blank Page in Dashboard","2024-06-06T12:53:39Z","https://github.com/pruvious/pruvious/issues/34",0.6150727,{"description":3071,"labels":3072,"number":2401,"owner":3009,"repository":3009,"state":3065,"title":3073,"updated_at":3074,"url":3075,"score":3076},"Great work on Pruvious!\r\n\r\nI am currently using it as my website CMS, and I want to have a \"Recent articles\" grid on the home page.\r\nEach article card should have a href which should be correctly resolved, with an `articles` prefix and correct i18n prefix.\r\n\r\nIs there a standard way to do this?",[],"Resolving correct page paths","2024-03-14T13:53:47Z","https://github.com/pruvious/pruvious/issues/12",0.7192056,{"description":3078,"labels":3079,"number":1908,"owner":3009,"repository":3009,"state":3065,"title":3080,"updated_at":3081,"url":3082,"score":3083},"Hey Muris!\r\n\r\nI found another thing that came up. My current project is only in German, so I was faced with updating my languages in the nuxt.config.ts as described by the docs. (So that the correct `html lang=\"de\"` is rendered.)\r\nEverything in the frontend works well, but in the dashboard, Pruvious is looking for the german translated-strings file (which currently does not exist). So now I have a couple of $item and $page springled in the dashboard. (See image attached).\r\n\r\n\u003Cimg width=\"1512\" alt=\"image\" src=\"https://github.com/pruvious/pruvious/assets/22402545/f31049e7-063a-4e9c-a649-b2048169c6bf\">\r\n\r\nI don't think this is a big issue for me at the moment, but I was thinking that it would be nice if pruvious had some translations for the dashboard in a couple of languages out of the box. I do only speak German and English (as do you afaik 😄 ), but I'd be happy to translate the default dashboard file to German with a PR. Maybe someone else would like to do other langs and so on too.\r\nShould I create one in `src/runtime/translatable-strings/standard/` ?\r\n\r\nI the meantime, I think it would also be a good addition if English would be displayed if the other translated strings don't exist (which already kinda works, but breaks with variables as it seems).\r\n\r\nAnyway, let me know what you think! \r\n\r\nCheers!\r\n\r\n---\r\nPS: Da du auch aus München bist (glaub ich), würd ich dir gern mal ein Bier ausgeben für die ganze harte Arbeit. Entweder so oder über BuyMeACoffee oder so 😃 ",[],"Missing Pruvious Dashboard Translations","2024-07-26T11:48:17Z","https://github.com/pruvious/pruvious/issues/31",0.7646969,["Reactive",3085],{},["Set"],["ShallowReactive",3088],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fhnDUtky5x4vxkmYHRfQ-0V20DE1MC2lOQPIFcjccuww":-1},"/pruvious/pruvious/37"]