This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean Hellum
authored
Feb 25, 2020
1 parent
001d45d
commit a262d90
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Vue.js in Gitpod | ||
|
||
In order to work with Vue.js in Gitpod, you will need to properly configure your repository. Here is how to do it. | ||
|
||
## Examples | ||
|
||
However, before we begin here are a few example repositories to help give you an idea of what to expect | ||
|
||
<div class="table-container"> | ||
|
||
| Repository | Description | Try it | | ||
|------------|-------------|--------| | ||
|[vuepress](https://github.com/vuejs/vuepress)|Minimalistic Vue-powered static site generator| [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/vuejs/vuepress)| | ||
|[postwoman](https://github.com/liyasthomas/postwoman)|A free, fast and beautiful API request builder (web alternative to Postman)|[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/liyasthomas/postwoman)| | ||
|
||
</div> | ||
|
||
## Vue-CLI | ||
|
||
To install the Vue.js command line interface in your current workspace run the following | ||
```bash | ||
npm i -g vue-cli | ||
``` | ||
|
||
To install globally across all workspaces add the following to your [`.gitpod.Dockerfile`](https://www.gitpod.io/docs/config-docker/) | ||
```Dockerfile | ||
RUN npm i -g vue-cli | ||
``` | ||
> Please note: If you don't already have one please run [`gp init`](https://www.gitpod.io/docs/command-line-interface/#init) which should generate two files [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/) and [`.gitpod.Dockerfile`](https://www.gitpod.io/docs/config-docker/) | ||
## VSCode Extensions | ||
|
||
### Vetur | ||
|
||
![Vetur extension](images/Vetur.png) | ||
|
||
Vetur provides syntax highlighting, snippets, Emmet support, linting/error checking, auto formatting, and auto-complete for Vue files. | ||
|
||
To add this extension to your repository add the following to your [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/) | ||
|
||
```yaml | ||
vscode: | ||
extensions: | ||
- [email protected]:TEzauMObB6f3i2JqlvrOpA== | ||
``` | ||
For projects that already have a [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/) you can skip the first part and just add the provided snippet. |