mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
[examples] Remove examples without detectors (#3864)
This commit is contained in:
23
examples/vuepress/.gitignore
vendored
23
examples/vuepress/.gitignore
vendored
@@ -1,23 +0,0 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/dist
|
||||
|
||||
# local env files
|
||||
.env.local
|
||||
.env.*.local
|
||||
.env
|
||||
.env.build
|
||||
|
||||
# Log files
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
@@ -1 +0,0 @@
|
||||
yarn.lock
|
||||
@@ -1,29 +0,0 @@
|
||||
# VuePress Example
|
||||
|
||||
This directory is a brief example of a [VuePress](https://vuepress.vuejs.org/) app that can be deployed with ZEIT Now and zero configuration.
|
||||
|
||||
## Deploy Your Own
|
||||
|
||||
Deploy your own VuePress project with ZEIT Now.
|
||||
|
||||
[](https://zeit.co/import/project?template=https://github.com/zeit/now/tree/master/examples/vuepress)
|
||||
|
||||
_Live Example: https://vuepress.now-examples.now.sh_
|
||||
|
||||
### How We Created This Example
|
||||
|
||||
To get started with VuePress deployed with ZEIT Now, you can use the [Now CLI](https://zeit.co/download) to initialize the project:
|
||||
|
||||
```shell
|
||||
$ now init vuepress
|
||||
```
|
||||
|
||||
> The only change made is to add `dest: "/public"` to the `config.js` file.
|
||||
|
||||
### Deploying From Your Terminal
|
||||
|
||||
You can deploy your new VuePress project with a single command from your terminal using [Now CLI](https://zeit.co/download):
|
||||
|
||||
```shell
|
||||
$ now
|
||||
```
|
||||
@@ -1,12 +0,0 @@
|
||||
module.exports = {
|
||||
title: 'Vuepress',
|
||||
description: 'This is a Zeit Now 2.0 example',
|
||||
themeConfig: {
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Guide', link: '/guide/' },
|
||||
{ text: 'Config Page', link: '/config' },
|
||||
],
|
||||
},
|
||||
dest: 'public',
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
# Hello From Vuepress on Now 2.0!
|
||||
@@ -1 +0,0 @@
|
||||
# Example Config Route
|
||||
@@ -1 +0,0 @@
|
||||
# Example Guide Section
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"name": "vuepress",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vuepress dev docs --port $PORT",
|
||||
"build": "vuepress build docs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vuepress": "^0.14.4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user