Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-resize-demo",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"description": "Demo for vue-resize",
"author": "Guillaume Chau <[email protected]>",
Expand All @@ -22,8 +22,6 @@
"@vue/cli-service": "^4.5.9",
"@vue/eslint-config-standard": "^6.0.0",
"eslint": "^7.16.0",
"stylus": "^0.54.8",
"stylus-loader": "^3",
"vue-template-compiler": "^2.6.12"
},
"postcss": {
Expand Down
35 changes: 18 additions & 17 deletions packages/demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,24 @@ export default {
}
</script>

<style lang="stylus">
$color = #42b983

#app
font-family 'Avenir', Helvetica, Arial, sans-serif
text-align center
color #2c3e50
margin-top 60px
<style>
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}

.counter
font-size 42px
color $color
.counter {
font-size: 42px;
color: #42b983;
}

.resized
position relative
border solid 1px $color
margin 12px
padding @margin
display inline-block
.resized {
position: relative;
border: solid 1px #42b983;
margin: 12px;
padding: 12px;
display: inline-block;
}
</style>
24 changes: 0 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,6 @@
less "^3.9.0"
pug "^2.0.3"
sass "^1.18.0"
stylus "^0.54.5"

"@vue/eslint-config-standard@^6.0.0":
version "6.0.0"
Expand Down Expand Up @@ -9203,29 +9202,6 @@ stylehacks@^4.0.0:
postcss "^7.0.0"
postcss-selector-parser "^3.0.0"

stylus-loader@^3:
version "3.0.2"
resolved "https://registry.yarnpkg.com/stylus-loader/-/stylus-loader-3.0.2.tgz#27a706420b05a38e038e7cacb153578d450513c6"
integrity sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA==
dependencies:
loader-utils "^1.0.2"
lodash.clonedeep "^4.5.0"
when "~3.6.x"

stylus@^0.54.5, stylus@^0.54.8:
version "0.54.8"
resolved "https://registry.yarnpkg.com/stylus/-/stylus-0.54.8.tgz#3da3e65966bc567a7b044bfe0eece653e099d147"
integrity sha512-vr54Or4BZ7pJafo2mpf0ZcwA74rpuYCZbxrHBsH8kbcXOwSfvBFwsRfpGO5OD5fhG5HDCFW737PKaawI7OqEAg==
dependencies:
css-parse "~2.0.0"
debug "~3.1.0"
glob "^7.1.6"
mkdirp "~1.0.4"
safer-buffer "^2.1.2"
sax "~1.2.4"
semver "^6.3.0"
source-map "^0.7.3"

[email protected], supports-color@^5.3.0, supports-color@^5.4.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
Expand Down