Skip to content

Commit 531222a

Browse files
committed
moved to pug & update vue-compiler
1 parent e5a55a5 commit 531222a

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

dev/basic.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
) Close bottom Overlay first
1414
br
1515
button(@click.prevent="openScrollOverlay") Overlay with allowScroll
16-
a(href="https://github.com/vue-comps/vue-overlay/blob/master/dev/basic.vue") source
16+
a(href="https://github.com/vue-comps/vue-overlay/blob/master/dev/basic.vue",style="margin: 20px") source
1717
div(style="margin:auto;text-align:center;height:2000px") something centered (shouldn't move)
1818
</template>
1919

@@ -58,10 +58,3 @@ module.exports =
5858
@overlay = require("../overlay.js")(@getVue())
5959
6060
</script>
61-
62-
<style lang="stylus">
63-
.container > a
64-
position absolute
65-
left 250px
66-
top 40px
67-
</style>

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"chai": "^3.5.0",
2424
"chai-spies": "^0.7.1",
2525
"coffee-loader": "^0.7.2",
26-
"css-loader": "^0.23.1",
26+
"coffee-script": "^1.10.0",
2727
"gh-pages": "^0.11.0",
2828
"karma": "^0.13.22",
2929
"karma-chai": "^0.1.0",
@@ -37,17 +37,13 @@
3737
"karma-vue-component": "^0.1.0",
3838
"karma-webpack": "^1.7.0",
3939
"mocha": "^2.4.5",
40-
"parse5": "^2.1.5",
40+
"pug": "^2.0.0-alpha6",
4141
"script-runner": "^0.1.4",
42-
"style-loader": "^0.13.1",
43-
"stylus-loader": "^2.0.0",
44-
"template-html-loader": "0.0.3",
4542
"vue": "^1.0.21",
46-
"vue-compiler": "^0.2.1",
43+
"vue-compiler": "^0.3.0",
4744
"vue-dev-server": "^0.2.10",
4845
"vue-html-loader": "^1.2.2",
4946
"vue-loader": "^8.3.1",
50-
"vue-style-loader": "^1.0.0",
5147
"webpack": "^1.13.0"
5248
},
5349
"keywords": [
@@ -57,6 +53,7 @@
5753
],
5854
"readmeFilename": "README.md",
5955
"scripts": {
56+
"build:coffee": "coffee --no-header --compile --output . src/*.coffee",
6057
"build:vue": "NODE_ENV=production vue-compiler --out . src/*.vue",
6158
"build:webpack": "webpack --config build/webpack.config.coffee",
6259
"build": "run-npm build:*",

0 commit comments

Comments
 (0)