Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxin-sky committed Oct 11, 2022
1 parent 1560865 commit 52d91d3
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 5 deletions.
Binary file modified .DS_Store
Binary file not shown.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Lapce Plugin for vue (based volar)
# Lapce Plugin for Vue (based volar)

### Preview

![vue plugin](./image/lps.png "vue Plugin for lapce")

### Usage

> Require: Lapce version must Greater than 2.0, you can use Lapce nightly version. [click hear get new version](https://github.com/lapce/lapce/releases)
****

**Installed through the plugin market**

Open Lapce(need version > 2.0) and click plugin icon, then find Lapce-vue plugin ,click install.

**Manual installation**

1. Open Lapce, Press F1 button, input `:open plugins Directory`
2. download `lapce-vue.tar.gz` [click hare get release](https://github.com/xiaoxin-sky/lapce-vue/releases)
3. reload Lapce
5 changes: 1 addition & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env bash
target=(node14-macos-x64,node12-macos-x64)
pkg ./lapce-volar/main.js --output vue-language-server
# tar -zcf lapce-vue.tar.gz ./bin ./lapce-volar volt.toml
# tar -zcf lapce-volar.tar.gz ./lapce-volar
tar -zcf lapce-vue.tar.gz ./bin volt.toml
Binary file added lapce-vue/bin/lapce-vue.rustc.wasm
Binary file not shown.
10 changes: 10 additions & 0 deletions lapce-vue/volt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name = "lapce-vue"
version = "0.0.2"
author = "xiaoxin-sky"
display-name = "vue"
description = "vue auto-complete、ts type-check"
wasm = "bin/lapce-vue.rustc.wasm"

[activation]
language = ["vue"]
workspace-contains = ["*/Cargo.toml"]

0 comments on commit 52d91d3

Please sign in to comment.