Skip to content

Commit 9280554

Browse files
lint
1 parent 0c4f455 commit 9280554

File tree

4 files changed

+39
-14
lines changed

4 files changed

+39
-14
lines changed

package-lock.json

+32-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"build:clean": "rimraf ./dist-vue ./dist",
2020
"build:vue": "vue-cli-service build --modern --dest ./dist-vue",
2121
"build:nw": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
22+
"build:win": "rimraf ./dist-vue && npm run build:vue && build --tasks win-x86 --mirror https://dl.nwjs.io/ .",
2223
"run:win": "dist\\nw-vue-1.0.0-win-x86\\nw-vue.exe",
2324
"lint": "vue-cli-service lint --no-fix",
2425
"fix": "vue-cli-service lint --fix",

src/components/HelloWorld.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<template>
22
<div class="hello">
3-
<h1 data-test="message">{{ msg }}</h1>
3+
<h1 data-test="message">
4+
{{ msg }}
5+
</h1>
46
<h3 data-test="versions">
57
You are using
68
Vue.js (v{{ vueVersion }}),

tests/unit/components/__snapshots__/HelloWorld.test.js.snap

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ exports[`HelloWorld.vue Activate dev tools: show 1`] = `
1818

1919
exports[`HelloWorld.vue Render default contents 1`] = `
2020
<div class="hello">
21-
<h1>Welcome to your Vue Desktop App in NW.js!</h1>
21+
<h1>
22+
Welcome to your Vue Desktop App in NW.js!
23+
</h1>
2224
<h3>
2325
You are using
2426
Vue.js (v2.6.10),

0 commit comments

Comments
 (0)