Skip to content
HTML Vue JavaScript
Branch: master
Clone or download

Latest commit

Latest commit 62014a8 Feb 26, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend Modify data Feb 14, 2020
frontend Add moment dep Feb 18, 2020
.gitignore Modify .gitignore rules Feb 13, 2020
README.md first commit Feb 13, 2020
package.json Add moment Feb 26, 2020
screenshot.png first commit Feb 13, 2020
yarn.lock Add moment Feb 26, 2020

README.md

Strapi Starter Vue Blog

Vue starter for creating a blog with Strapi.

This starter allows you to try Strapi with Vue with the example of a simple blog. It is fully customizable and due to the fact that it is open source, fully open to contributions. Do not hesitate to add new features etc ...

You may want to know how to develop such a starter by your own! This starter is actually the result of this tutorial

screenshot image

Features

  • 2 Content types: Article, Category
  • Permissions set to true for article and category
  • 2 Created articles
  • 3 Created categories
  • Apollo integration (GraphQL) for fetching data from strapi
  • Responsive design using UIkit

Pages

  • "/" display every articles
  • "/article/:id" display one article
  • "/category/:id" display articles depending on the category

Getting started

Clone the repository and install dependencies

git clone https://github.com/strapi/strapi-starter-vue-blog.git
cd strapi-starter-vue-blog

# Using yarn
yarn setup:yarn

# Using npm
npm run setup:npm

Scaffold your project

This command will launch both of your backend and frontend server and do a data migration in your backend server

# Using yarn
yarn build:yarn
yarn develop:yarn

# Using npm
npm run build:npm
npm run develop:npm

Alternatively, you can still start your servers separately:

Start the backend server

cd backend

# Using yarn
yarn build
yarn develop

# Using npm
npm run build
npm run develop

Start the frontend server

cd frontend

# Using yarn
yarn develop

# Using npm
npm run develop

Vue server is running here => http://localhost:8080 Strapi server is running here => http://localhost:1337

Enjoy this starter

You can’t perform that action at this time.