【文件属性】:
文件名称:vue-paintapp:使用Pusher和Vuejs在绘画应用程序中进行实时协作
文件大小:85KB
文件格式:ZIP
更新时间:2021-05-14 06:05:57
JavaScript
Vue-Paintapp
使用Pusher和Vue进行实时油漆协作
先决条件
和
入门
克隆项目并安装依赖项:
创建一个名为.env的文件。 使用以下内容更新.env文件:
PUSHER_APP_ID=app-id
PUSHER_APP_KEY=app-key
PUSHER_APP_SECRET=app-secret
注意:请确保使用您的推送程序appId , key和secret替换占位符值。
克隆仓库
进入项目文件夹
运行npm install
通过运行node server启动node server
运行yarn serve启动开发服务器
建于
【文件预览】:
vue-paintapp-master
----public()
--------index.html(551B)
--------favicon.ico(1KB)
----yarn.lock(277KB)
----server.js(830B)
----src()
--------main.js(135B)
--------components()
--------App.vue(985B)
--------assets()
--------canvas.directive.js(2KB)
----babel.config.js(52B)
----README.md(949B)
----.gitignore(221B)
----package.json(997B)