npm install
npm run serve
npm run build
npm run test
npm run lint
1 存放在public/fonts中 2 存放在src/assets/fonts中
github中查找使用方法
开启 nginx 关闭 nginx -s stop 重新加载 nginx -s reload 访问地址:nginx.conf中http模块对应的server地址
- 自己创建一个server
http {
server {
listen 9000;
server_name resource;
root F:/nginx-1.14.2/resource;
autoindex on;
location / {
add_header Access-Control-Allow-Origin *;
}
add_header Cache-Control "no-cache, must-revalidate";
}
}