Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ab40c9e

Browse filesBrowse files
committed
add build tag: debug
to switch produce|dev version of VueJS
1 parent 2ff578c commit ab40c9e
Copy full SHA for ab40c9e

File tree

Expand file treeCollapse file tree

7 files changed

+8595
-0
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+8595
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ These are the basic rules to use this package:
2222
should have an anonymous embeded `*js.Object` field and the `exported fields`
2323
should have proper `js struct tag` for bidirectionaly data bindings
2424

25+
# Using the debug|dev version of VueJS
26+
27+
This package includes the `minified|product version` of VueJS code by default,
28+
if you want to include the `debug|dev version` of of VueJS code, please specify
29+
buidling tags `debug` to the `gopherjs build` cmd as this:
30+
31+
gopherjs build --tags debug main.go
2532

2633
for more details please see the examples.
2734

‎inc_debug.go

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//+build debug
2+
3+
package vue
4+
5+
import _ "github.com/oskca/gopherjs-vue/jscode/debug"

‎inc_minified.go

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//+build !debug
2+
3+
package vue
4+
5+
import _ "github.com/oskca/gopherjs-vue/jscode/minified"

‎jscode/debug/inc.go

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package debug

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.