vue-cli-plugin-buefy
Version:
Vue CLI 3.x plugin to add vue-buefy to your Vue Project
64 lines (42 loc) • 2.4 kB
Markdown
# vue-cli-plugin-buefy
[](https://npmjs.com/package/vue-cli-plugin-buefy)
[](https://npmjs.com/package/vue-cli-plugin-buefy)
[](https://circleci.com/gh/buefy/vue-cli-plugin-buefy)
[](https://codecov.io/gh/buefy/vue-cli-plugin-buefy)
[](https://david-dm.org/buefy/vue-cli-plugin-buefy)
[](http://buefy.github.io)
[Vue CLI 3.x](https://github.com/vuejs/vue-cli) plugin to add buefy to your Vue Project
> Well, apparently you're an [adventurer](https://github.com/vuejs/vue-cli/blob/dev/README.md#status-beta). We are happy to see you here.
## Getting Started
If you don't have a project created with Vue CLI 3.x:
```sh
$ vue create my-vue-app
```
Install the plugin into your project:
```sh
$ cd my-vue-app
$ vue add buefy
```
## Global sass resources
You can do that using the css.loaderOptions option in `vue.config.js` to pass some shared global variables to all your Sass styles:
```js
// vue.config.js
const fs = require('fs')
module.exports = {
css: {
loaderOptions: {
sass: {
data: fs.readFileSync('src/variables.scss', 'utf-8')
}
}
}
}
```
## Changelog
Details of changes for each release are documented in the [CHANGELOG.md](https://github.com/buefy/vue-cli-plugin-buefy/blob/master/CHANGELOG.md).
## Issues
Please make sure to read the [Issue Reporting Checklist](https://github.com/buefy/vue-cli-plugin-buefy/blob/master/.github/CONTRIBUTING.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
## Contribution
Please make sure to read the [Contributing Guide](https://github.com/buefy/vue-cli-plugin-buefy/blob/master/.github/CONTRIBUTING.md) before making a pull request.
## License
[MIT](http://opensource.org/licenses/MIT)