Skip to content

Commit

Permalink
Support Vue (#130)
Browse files Browse the repository at this point in the history
* update cli

* feat: submit changeset

* add template of vue

* update pnpm-lock.yaml

* add template of vue in cli/template

* feat: add @farmfe/js-vue-plugin

* fix: fix some files

* fix: add some words in cspell.json

* feat: support Vue SFC

* fix: ci issues

* chore: add prepublishOnly and files for js plugin vue

---------

Co-authored-by: 余尚运 <[email protected]>
Co-authored-by: 余尚运 <[email protected]>
  • Loading branch information
3 people authored Mar 25, 2023
1 parent 1587eff commit c100560
Show file tree
Hide file tree
Showing 50 changed files with 11,532 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-horses-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@farmfe/cli': minor
---

Add vue template
5 changes: 5 additions & 0 deletions .changeset/shaggy-jars-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@farmfe/js-plugin-vue': minor
---

Vue SFC compilation support by js plugin
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.svg binary
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// words - list of words to be always considered correct
"words": [
"aarch",
"Basepath",
"bindgen",
"brightwu",
"Bytedance",
Expand Down
8 changes: 8 additions & 0 deletions examples/vue/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"root": true,
"extends": "../../.eslintrc.base.json",
"parserOptions": {
"project": ["./examples/vue/tsconfig.json"]
},
"rules": {}
}
2 changes: 2 additions & 0 deletions examples/vue/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist
build
105 changes: 105 additions & 0 deletions examples/vue/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions examples/vue/assets/plug.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c100560

Please sign in to comment.