vue 画布
蛇形游戏 (vue-snake-game)
Snake game on Vue.js without canvas.
没有画布的Vue.js上的蛇游戏。
项目设置 (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
运行端到端测试 (Run your end-to-end tests)
yarn run test:e2e
运行单元测试 (Run your unit tests)
yarn run test:unit
翻译自: https://vuejsexamples.com/snake-game-on-vue-js-without-canvas/
vue 画布