A simple blog made with nuxt strapi
This starter uses the Strapi blog template
Check out all of our starters here
- Content types: Articles, Categories
- Created articles
- Created categories
- Permissions set to
true
for article and category - Responsive design using UIkit
Pages:
- "/" display every articles
- "/article/:id" display one article
- "/category/:id" display articles depending on the category
$ git clone https://github.com/Leoglme/nuxt-strapi-blog
$ cd nuxt-strapi-blog
$ cd backend && yarn install && yarn dev
$ cd frontend && yarn install && yarn dev
The Nuxt frontend server will run here => http://localhost:3000
The Strapi backend server will run here => http://localhost:1337
You will need to deploy the frontend
and backend
projects separately. Here are the docs to deploy each one:
Don't forget to setup the environment variables on your production app:
For the frontend the following environment variable is required:
BACKEND_URL
: URL of your Strapi backend, without trailing slash