diff --git a/build/build.js b/build/build.js index 1bd15ff..f666313 100644 --- a/build/build.js +++ b/build/build.js @@ -33,6 +33,4 @@ webpack(webpackConfig, function (err, stats) { chunks: false, chunkModules: false }) + '\n') - - ghpages.publish(path.join(__dirname, '../dist')) }) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 6a26d83..21667d5 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -17,8 +17,9 @@ module.exports = { fallback: [path.join(__dirname, '../node_modules')], alias: { 'src': path.resolve(__dirname, '../src'), - 'assets': path.resolve(__dirname, '../src/assets'), - 'components': path.resolve(__dirname, '../src/components') + 'assets': path.resolve(__dirname, '../docs/assets'), + 'mixins': path.resolve(__dirname, '../src/mixins'), + 'components': path.resolve(__dirname, '../docs/components') } }, resolveLoader: { diff --git a/config/index.js b/config/index.js index 3703302..9903ccc 100644 --- a/config/index.js +++ b/config/index.js @@ -6,8 +6,8 @@ module.exports = { env: require('./prod.env'), index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), - assetsSubDirectory: 'static', - assetsPublicPath: '/vue-select/', + assetsSubDirectory: '', + assetsPublicPath: '/', productionSourceMap: true }, dev: { diff --git a/docs/assets/fonts/octicons-local.ttf b/docs/assets/fonts/octicons-local.ttf deleted file mode 100644 index 6f3edd6..0000000 Binary files a/docs/assets/fonts/octicons-local.ttf and /dev/null differ diff --git a/docs/assets/scss/_octicons.scss b/docs/assets/scss/_octicons.scss index 7ead05e..8cc4f84 100644 --- a/docs/assets/scss/_octicons.scss +++ b/docs/assets/scss/_octicons.scss @@ -1,9 +1,9 @@ @font-face { font-family: 'octicons'; - src: url('./assets/fonts/octicons.eot?#iefix') format('embedded-opentype'), - url('./assets/fonts/octicons.woff') format('woff'), - url('./assets/fonts/octicons.ttf') format('truetype'), - url('./assets/fonts/octicons.svg#octicons') format('svg'); + src: url('~assets/fonts/octicons.eot?#iefix') format('embedded-opentype'), + url('~assets/fonts/octicons.woff') format('woff'), + url('~assets/fonts/octicons.ttf') format('truetype'), + url('~assets/fonts/octicons.svg#octicons') format('svg'); font-weight: normal; font-style: normal; } diff --git a/docs/components/Install.vue b/docs/components/Install.vue index 13f6163..c4c593a 100644 --- a/docs/components/Install.vue +++ b/docs/components/Install.vue @@ -143,7 +143,7 @@ */ import countries from '../data/advanced' import simple from '../data/simple' - import vSelect from '../../src/components/Select.vue' + import vSelect from 'src/components/Select.vue' import vCode from './Code.vue' import InstallSnippet from './snippets/InstallSnippet.vue' export default { diff --git a/index.html b/index.html index 0eacd7e..cfafd51 100644 --- a/index.html +++ b/index.html @@ -11,15 +11,15 @@ - + - + - + - - + + @@ -32,7 +32,6 @@

Build Status - Code Climate Rating Code Coverage No Dependencies MIT License