Comments (6)
直接打个包本地开个局域网也可以用啊
from lottery-web.
部署在github上也可以
from lottery-web.
估计是我不会的原因, npm打包报错
from lottery-web.
估计是我不会的原因, npm打包报错
需要node版本12 看下你的node版本是否是12 如果过高会依赖报错
from lottery-web.
直接打个包本地开个局域网也可以用啊
大佬为什么我运行起来后局域网内无法访问
from lottery-web.
直接打个包本地开个局域网也可以用啊
大佬为什么我运行起来后局域网内无法访问
已经解决,需要在webpack.dev.js中增加host配置
module.exports = merge(baseConfig, {
devtool: "#eval-source-map",
devServer: {
hot: true,
compress: true,
port: 9000,
open: true,
host: "0.0.0.0", // 允许局域网访问
proxy: {
"*": "http://localhost:18888"
},
before() {
// serve.run(18888, "n");
}
}
});
from lottery-web.
Related Issues (15)
- 有需要帮助的可以,在is上我会尽量和大家一起研究问题
- 大佬,你好。现在抽奖是自动的,想请教一下如何改成手动的 HOT 1
- 能加上动效么,点击抽奖球体开始旋转的时候 HOT 4
- feat-manual分支会有个问题,点击开始抽奖按钮后会变停止抽奖,如果这时等到抽奖自动结束按钮不会变回抽奖 HOT 2
- 大佬中奖之后的卡片背景是‘虎’,怎么能改成龙或者别的,或者是在哪改的 HOT 4
- 。 HOT 3
- 去掉 sass HOT 2
- 同学,您这个项目引入了732个开源组件,存在37个漏洞,辛苦升级一下 HOT 3
- 大佬,年会将近,怎么改为2023年的 HOT 1
- 不能说的秘密 是什么? HOT 3
- BUG: 奖品太多页面显示不完整 HOT 3
- 没学过前端的小白求教背景图片问题 HOT 3
- 如果需要react或者vue版本可以在这条下留言呼声最高的会有这个框架重构这个项目 HOT 4
- 需要在展示中奖信息的卡片里显示工号应该怎么改 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lottery-web.