Microflash / vuepress-theme-succinct

A slightly opinionated theme for Vuepress
https://succinct.mflash.dev
MIT License
30 stars 3 forks source link

Error: Cannot find module 'vuepress-theme-succinct/package.json' #2

Closed fanyouf closed 5 years ago

fanyouf commented 5 years ago

page.json

{
  "name": "docs",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "docs:dev": "vuepress dev blogs",
    "docs:build": "vuepress build blogs",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {},
  "devDependencies": {
    "vuepress-theme-succinct": "^1.0.0-alpha.23"
  }
}
naiyerasif commented 5 years ago

First things first, make sure that you are using Vuepress 1.x.x. I don't see Vuepress in your dependencies.

Also, check that markdown files are in blogs directory and so is .vuepress/config.js file which can be used to configure Vuepress to use Succinct theme. For more details, check out the documentation on using a theme.