\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.82936376,{"description":3047,"labels":3048,"number":3049,"owner":3008,"repository":3008,"state":3009,"title":3050,"updated_at":3051,"url":3052,"score":3053},"First of all, thanks for your stunning job.\n\nI'm getting an error trying to deploy Pruvious with CLI. \nIt works like a charm on dev and I've tried build locally within errors.\n\nEverything works fine until I execute:\n\n`pnpm exec pruvious sites add`\n\npackage.json\n`json{\n \"name\": \"nuxt-app\",\n \"private\": true,\n \"type\": \"module\",\n \"scripts\": {\n \"build\": \"nuxt build\",\n \"dev\": \"pruvious dev\",\n \"generate\": \"nuxt generate\",\n \"preview\": \"nuxt preview\",\n \"postinstall\": \"nuxt prepare\"\n },\n \"dependencies\": {\n \"@nuxt/eslint\": \"1.2.0\",\n \"@nuxt/fonts\": \"0.11.0\",\n \"@nuxt/ui\": \"^3.0.1\",\n \"@vueuse/core\": \"^13.0.0\",\n \"@vueuse/motion\": \"^3.0.3\",\n \"embla-carousel-vue\": \"^8.5.2\",\n \"eslint\": \"^9.0.0\",\n \"nuxt\": \"3.16.1\",\n \"pruvious\": \"^3.15.1\",\n \"vue\": \"^3.5.13\",\n \"vue-router\": \"^4.5.0\",\n \"@vueuse/components\": \"^13.0.0\",\n \"typescript\": \"^5.8.2\"\n }\n}`\n\nError log:\nInstalling dependencies for frontend.chocolatescorecard.com...\n\n[chocolate-scorecard-cms 12:31:41 PM] ERROR Error executing command: pnpm install --dir ~/sites/_frontend.chocolatescorecard.com\n\n\n[chocolate-scorecard-cms 12:31:41 PM] ERROR ERROR Could not load pruvious. Is it installed?\n\n at loadNuxtModuleInstance (node_modules/.pnpm/@nuxt+kit@3.16.1_magicast@0.3.5/node_modules/@nuxt/kit/dist/index.mjs:2569:9)\n at async installModule (node_modules/.pnpm/@nuxt+kit@3.16.1_magicast@0.3.5/node_modules/@nuxt/kit/dist/index.mjs:2480:67)\n at async initNuxt (node_modules/.pnpm/nuxt@3.16.1_@parcel+watcher@2.5.1_@types+node@22.13.13_db0@0.3.1_sqlite3@5.1.7__encodin_94c722cb4fbf91af3aef4ea6cc665b80/node_modules/nuxt/dist/shared/nuxt.DQBGBwNc.mjs:5785:5)\n at async loadNuxt (node_modules/.pnpm/nuxt@3.16.1_@parcel+watcher@2.5.1_@types+node@22.13.13_db0@0.3.1_sqlite3@5.1.7__encodin_94c722cb4fbf91af3aef4ea6cc665b80/node_modules/nuxt/dist/shared/nuxt.DQBGBwNc.mjs:5988:5)\n at async loadNuxt (node_modules/.pnpm/@nuxt+kit@3.16.1_magicast@0.3.5/node_modules/@nuxt/kit/dist/index.mjs:2713:19)\n at async Object.run (node_modules/.pnpm/@nuxt+cli@3.23.1_magicast@0.3.5/node_modules/@nuxt/cli/dist/chunks/prepare.mjs:31:18)\n at async runCommand (node_modules/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:316:16)\n at async runCommand (node_modules/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:307:11)\n at async runMain (node_modules/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:445:7) \n\n\n\n ERROR Could not load pruvious. Is it installed?\n\nAny idea?\n",[],109,"Deploying Pruvious to Digutal Ocean","2025-03-26T11:37:11Z","https://github.com/pruvious/pruvious/issues/109",0.8324157,{"description":3055,"labels":3056,"number":3057,"owner":3008,"repository":3008,"state":3009,"title":3058,"updated_at":3059,"url":3060,"score":3061},"I wanted to disable Nuxt devtools because of it causes still not fixed [memory leak and high CPU usage](https://github.com/nuxt/devtools/issues/761). But after set `devtools: { enabled: false }` in `nuxt.config.ts` the project with plugged `pruvious` module doesn't start:\n```\n ERROR Cannot start nuxt: Failed to resolve vue/compiler-sfc.\n@vitejs/plugin-vue requires vue (>=3.2.25) to be present in the dependency tree.\n```\n - Explicit installing `vue@latest` not solve the issue.\n - After unplugging `pruvious` module or enabling devtools in `nuxt.config.ts` the error is gone and project starts fine.\n\n### Steps to reproduce\n - `pnpm dlx pruvious@latest init \u003Cdir>`\n - `cd \u003Cdir>`\n - `pnpm dev`\n - Ensure that project is started by opening http://localhost:3000\n - Stop project\n - Set `devtools: { enabled: false }` in `nuxt.config.ts`\n - `pnpm dev`\n - Try to open http://localhost:3000\n\n### Environment\n - Win10 x64 19044.3086\n - Node v22.14.0\n - Nuxt v3.15.4\n - Pruvious v3.15.1\n - pnpm v9.14.4",[],115,"Nuxt failed to start with disabled `devtools`","2025-04-15T10:12:27Z","https://github.com/pruvious/pruvious/issues/115",0.8375763,{"description":3063,"labels":3064,"number":3065,"owner":3008,"repository":3008,"state":3009,"title":3066,"updated_at":3067,"url":3068,"score":3069},"I would like to contribute to by scoping what would it require to build a pruvious django plugin. The aim is to have the models and db managed by Django and expose the graphql endpoint for queries and mutations.\nDo you think this is feasible? \nDoes pruvious generate alter table statements when adding blocks and fields? because this will probably be a blocker",[],95,"Contribute: Django pruvious and graphene backend","2025-01-21T11:51:17Z","https://github.com/pruvious/pruvious/issues/95",0.8422505,{"description":3071,"labels":3072,"number":3073,"owner":3008,"repository":3008,"state":3009,"title":3074,"updated_at":3075,"url":3076,"score":3077},"Hi,\r\nIs it possible to resize images in Pruvious?\r\nThis feature is needed.",[],89,"Resize image","2024-12-19T22:11:57Z","https://github.com/pruvious/pruvious/issues/89",0.84387356,{"description":3079,"labels":3080,"number":3081,"owner":3008,"repository":3008,"state":3082,"title":3083,"updated_at":3084,"url":3085,"score":3086},"Hi. \nI wrote some apis combined with a dashboard page in Pruvious to manage pages in a tree manor with drag and drop and some addition functions.\nI want to protect the api using the documented code checking `event.context.auth.isLoggedIn`\n\nAs I'm logged in in pruvious, I exected this to by populated, but the user is null and so isLoggedIn is false. \nIs it possible to check the pruvious session that or in an otherr way?\n\nThx\ndany",[],100,"closed","Pruvious session as auth for server api","2025-02-12T11:30:09Z","https://github.com/pruvious/pruvious/issues/100",0.45653996,["Reactive",3088],{},["Set"],["ShallowReactive",3091],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fdQCDq15eXIkzw679mm3Dd4hIfJC6mmV6r7GCr2luwN0":-1},"/pruvious/pruvious/101"]