From abf700f47d0b22548d2b7ce842dacc3af3506a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Alexander=20Str=C3=B8mseng?= Date: Mon, 29 Apr 2024 12:35:05 +0200 Subject: [PATCH] 369 add recomended vscode plugins and setup to docs (#384) * Add VSCode extensions in developing.md * Update Strapi permissions for public roles in developing.md --- docs/developing.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/developing.md b/docs/developing.md index fa48552..7cea9fd 100644 --- a/docs/developing.md +++ b/docs/developing.md @@ -4,6 +4,14 @@ This project requires you have installed [Node.js 20 LTS](https://nodejs.org/en/download). We recommend using [nvm](https://github.com/nvm-sh/nvm) to install multiple versions of node if necessary. +## VSCode extensions + +We recommend using the following vscode extensions for the best experience. +- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) +- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) +- [GraphQL: Syntax Highlighting](https://marketplace.visualstudio.com/items?itemName=GraphQL.vscode-graphql-syntax) +- [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) + ## Running the project To install all requirements simply do the following from the project root: @@ -24,12 +32,13 @@ If this doesn't work you might have to enter and build the backend (strapi) firs ## Strapi First time boot -Goto Settings > Users & Permissions plugin > Roles > Public > Article, and enable `find` and `findOne`. You need to do this for every publically available content type. Theese include but are not limited to: +Goto `Settings > Users & Permissions plugin > Roles > Public > Article`, and enable `find` and `findOne`. You need to do this for every publically available content type. Theese include but are not limited to: - Article - Author - Hero -- Most-recent-image +- Featured-image +- Hero - Project - Satellite