demo-vue-p5 Project setup yarn install Compiles and hot-reloads for development yarn run serve Compiles and minifies for production yarn run build Run your tests yarn run test Lints and fixes files yarn run lint p5.js yarn add p5 参考 https://medium.com/js-dojo/experiment-with-p5-js-on-vue-7ebc05030d33