1 Star 5 Fork 3

刘元涛/vue-tetris

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 538 Bytes
一键复制 编辑 原始数据 按行查看 历史
binaryify 提交于 2017-06-12 22:24 +08:00 . first commit
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import store from './vuex/store'
import './unit/const';
import './control';
import { subscribeRecord } from './unit';
window.store=store
subscribeRecord(store); // 将更新的状态记录到localStorage
Vue.config.productionTip = false
window.vm=store
/* eslint-disable no-new */
new Vue({
el: '#root',
render: h => h(App),
store: store
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/liuyuantao/vue-tetris.git
git@gitee.com:liuyuantao/vue-tetris.git
liuyuantao
vue-tetris
vue-tetris
master

搜索帮助