You want to create a Vue CLI project and add Buefy and PurgeCSS? Here you have some shell script.
NodeJS, npm and Vue CLI have to be installed. Preferably in the latest versions.
In the data
folder you will find some preconfigured files. _custom.scss
will be the buefy override file. It will be copied to a global
folder and inserted into your project. the main.ts
has all the imports needed to start with buefy. postcss.config.js
is customized for PurgeCSS. The vue.config.js
file extends webpack and adds buefy and your _custom.scss
as global stylesheets to your project.
- Clone or download that project.
- Start
create-view-cli-project.sh
- When the cli asks you for a project (folder) name, give it one (without spaces!).
- Hope that the script runs through.
This thing of a script might be buggy! Use at own risk!