Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
[docs] Vue.js in Gitpod
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hellum committed Feb 17, 2020
1 parent 030d7dc commit 1aab175
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Binary file added src/docs/images/Vetur.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/docs/languages-and-frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Below is a list of language and framework specific tips & tricks.
* [Bash](/docs/bash-in-gitpod/)
* [Ruby](/docs/ruby-in-gitpod)
* [PHP](/docs/php-in-gitpod)
* [Vue.js](/docs/vue-in-gitpod)
* [Rust](/docs/rust-in-gitpod/)
* [Julia](/docs/julia-in-gitpod/)
* [R](/docs/r-in-gitpod/)
4 changes: 4 additions & 0 deletions src/docs/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ export const MENU: MenuEntry[] = [
"PHP",
"php-in-gitpod"
),
M(
"Vue.js",
"vue-in-gitpod"
),
M(
"Rust",
"rust-in-gitpod"
Expand Down
34 changes: 34 additions & 0 deletions src/docs/vue-in-gitpod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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|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)|

</div>

## VSCode Extensions

### Vetur

![Vetur extension](images/Vetur.png)

Vetur provides syntax highlighting, snippets, Emmet support, lintiing/error checking, auto formatting, and auto-complete for Vue files.

To add this extension to a new repository open the project in Gitpod and in the terminal run `gp init`
it should generate two files a [`.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file/) and a [`.gitpod.Dockerfile`](https://www.gitpod.io/docs/config-docker/), in the `.gitpod.yml` file add the following

```yaml
vscode:
extensions:
- [email protected]:TEzauMObB6f3i2JqlvrOpA==
```
For projects that already have a `.gitpod.yml` you can skip the first part and just add the provided snippet.

0 comments on commit 1aab175

Please sign in to comment.