How to add Node.js & npm to jekyll in GitHub Codespaces

1 · Christian · March 25, 2023, 12:37 p.m.
You can use GitHub CodeSpaces to develop your Jekyll site. But you need to install Node.js and npm to use e.g. TailwindCSS. So, if you haven’t already, create a file called devcontainer/devcontainer.json in your repository, with the following content: { "name": "Jekyll", "image": "", "features": { "": { "version": "latest" } }} This will start from the image “