Skip to content
This repository was archived by the owner on Nov 16, 2022. It is now read-only.

Added gh-pages #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
143 changes: 143 additions & 0 deletions package-lock.json
100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"lint": "vue-cli-service lint --no-fix",
"test": "npm run lint && vue-cli-service test:unit",
"coverage": "npm test && codecov",
"prepublish": "npm run build"
"prepublish": "npm run build",
"gh-pages": "vue-cli-service build && gh-pages -d dist"
},
"license": "MIT",
"author": "Chameleon Team <[email protected]>",
Expand Down Expand Up @@ -36,6 +37,7 @@
"codecov": "^3.5.0",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-vue": "^5.2.2",
"gh-pages": "^2.0.1",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"vue-template-compiler": "^2.6.10",
Expand Down
27 changes: 18 additions & 9 deletions src/App.vue
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
<template>
<v-app id="app">
<VColorPickerInput v-model="color"
return-type="value"
@change="showColor">
</VColorPickerInput>
<v-content>
<v-container>
<h1>vuetify-colorizer</h1>
<p>
This is an example of the vuetify-colorizer:
</p>
<br>
<VColorPickerInput v-model="color"
return-type="value"
@change="showColor">
</VColorPickerInput>
</v-container>
</v-content>
</v-app>
</template>

Expand Down Expand Up @@ -35,9 +44,9 @@ export default {
</script>

<style>
#app {
font-family: Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#app {
font-family: Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
</style>
1 change: 1 addition & 0 deletions src/components/VColorPickerInput.vue
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export default {

<style lang="stylus">
.colorizer-picker-input {
position: relative;
.v-input__append-inner {
margin-top: 0px !important;
position: relative;
Expand Down
4 changes: 4 additions & 0 deletions vue.config.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ module.exports = {
},
plugins,
},
publicPath: process.env.NODE_ENV === 'production'
? '/vuetify-colorizer' // prod
: '/', // dev

};