Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Add vuepress detector #108

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Add vuepress detector #108

merged 1 commit into from
Apr 9, 2019

Conversation

shortdiv
Copy link
Contributor

@shortdiv shortdiv commented Apr 9, 2019

- Summary
Running netlify dev doesn't work for vuepress projects. This fix adds a detector so that the dev server can run.

- Test plan

Add vuepress to your project

# install as a local dependency
yarn add -D vuepress # OR npm install -D vuepress

# create a docs directory
mkdir docs
# create a markdown file
echo '# Hello VuePress' > docs/README.md

Then update your package.json file so it has the proper command for running vuepress.

{
  "scripts": {
    "dev": "yarn run docs:dev",
  }
}

Try running netlify dev. You should have a netlify dev server accessible at localhost:8888

- Description for the changelog
Adds Vuepress to the list of detectors

- A picture of a cute animal
monkeyInASwing

Copy link
Contributor

@lunaceee lunaceee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ✨

@swyxio swyxio merged commit d6c3448 into master Apr 9, 2019
@swyxio swyxio deleted the add-vuepress branch April 9, 2019 22:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants