mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
update build hooks, bump readme
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# vue-select [](https://travis-ci.org/sagalbot/vue-select) [](https://codeclimate.com/github/sagalbot/vue-select) [](https://codeclimate.com/github/sagalbot/vue-select) [](https://gemnasium.com/github.com/sagalbot/vue-select)  
|
# vue-select [](https://travis-ci.org/sagalbot/vue-select) [](https://codeclimate.com/github/sagalbot/vue-select) [](https://gemnasium.com/github.com/sagalbot/vue-select)  
|
||||||
|
|
||||||
> Rather than bringing in jQuery just to use Select2 or Chosen, this Vue.js component provides similar functionality without the extra overhead of jQuery, while providing the same awesome data-binding features you expect from Vue. Vue-select has no JavaScript dependencies other than Vue, and is designed to mimic [Select2](https://github.com/select2/select2).
|
> A native Vue.js component that provides similar functionality to Select2 without the overhead of jQuery. Vue-select has no JavaScript dependencies other than Vue, and is designed to mimic [Select2](https://github.com/select2/select2).
|
||||||
|
|
||||||
#### Features
|
#### Features
|
||||||
|
|
||||||
|
|||||||
@@ -33,4 +33,14 @@ webpack(webpackConfig, function (err, stats) {
|
|||||||
chunks: false,
|
chunks: false,
|
||||||
chunkModules: false
|
chunkModules: false
|
||||||
}) + '\n')
|
}) + '\n')
|
||||||
|
|
||||||
|
// $ npm run build publish
|
||||||
|
// This will publish /dist/ to the gh-pages
|
||||||
|
if (( process.argv.indexOf('publish') > 1 )) {
|
||||||
|
spinner = ora('Publishing to GitHub Pages...').start()
|
||||||
|
ghpages.publish(path.join(__dirname, '../dist'), function (err) {
|
||||||
|
spinner.stop()
|
||||||
|
if (err) throw err
|
||||||
|
});
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ module.exports = {
|
|||||||
index: path.resolve(__dirname, '../dist/index.html'),
|
index: path.resolve(__dirname, '../dist/index.html'),
|
||||||
assetsRoot: path.resolve(__dirname, '../dist'),
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
||||||
assetsSubDirectory: '',
|
assetsSubDirectory: '',
|
||||||
assetsPublicPath: '/',
|
assetsPublicPath: ( process.argv.indexOf('publish') > 1 ) ? 'http://sagalbot.github.io/vue-select/' : '/',
|
||||||
productionSourceMap: true
|
productionSourceMap: true
|
||||||
},
|
},
|
||||||
dev: {
|
dev: {
|
||||||
|
|||||||
+7
-6
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Vue Select | VueJS Select2/Chosen Component</title>
|
<title>Vue Select | VueJS Select2 Component</title>
|
||||||
|
|
||||||
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono" rel="stylesheet" type="text/css">
|
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono" rel="stylesheet" type="text/css">
|
||||||
<link href="//fonts.googleapis.com/css?family=Dosis:300&text=Vue Select" rel="stylesheet" type="text/css">
|
<link href="//fonts.googleapis.com/css?family=Dosis:300&text=Vue Select" rel="stylesheet" type="text/css">
|
||||||
@@ -12,16 +12,17 @@
|
|||||||
<meta name="description" content="A well-tested, native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
<meta name="description" content="A well-tested, native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
||||||
|
|
||||||
<link rel="icon" href="static/vue-logo.png" type="image/png">
|
<link rel="icon" href="static/vue-logo.png" type="image/png">
|
||||||
|
<meta property="og:image" content="static/vue-logo.png">
|
||||||
|
<meta property="twitter:image" content="static/vue-logo.png">
|
||||||
|
|
||||||
<meta name="description" content="A native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
<meta name="description" content="A native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
||||||
|
<meta property="og:description" content="A native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
||||||
|
<meta property="twitter:description" content="A native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
||||||
|
|
||||||
|
<meta property="twitter:title" content="Vue Select | VueJS Select2/Chosen Component">
|
||||||
<meta property="og:title" content="Vue Select | VueJS Select2/Chosen Component">
|
<meta property="og:title" content="Vue Select | VueJS Select2/Chosen Component">
|
||||||
<meta property="og:site_name" content="Vue Select | VueJS Select2/Chosen Component">
|
<meta property="og:site_name" content="Vue Select | VueJS Select2/Chosen Component">
|
||||||
<meta property="og:url" content="http://sagalbot.github.io/vue-select/">
|
<meta property="og:url" content="http://sagalbot.github.io/vue-select/">
|
||||||
<meta property="og:description" content="A well-tested, native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
|
||||||
<meta property="og:image" content="static/vue-logo.png">
|
|
||||||
<meta property="twitter:image" content="static/vue-logo.png">
|
|
||||||
<meta property="twitter:title" content="Vue Select | VueJS Select2/Chosen Component">
|
|
||||||
<meta property="twitter:description" content="A well-tested, native Vue.js component that provides similar functionality to Select2/Chosen without the overhead of jQuery.">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="jumbotron jumbotron-top">
|
<div class="jumbotron jumbotron-top">
|
||||||
|
|||||||
Reference in New Issue
Block a user