美文网首页
1.编码测试和打包发布及相关依赖环境配置

1.编码测试和打包发布及相关依赖环境配置

作者: IceCover | 来源:发表于2018-10-12 13:10 被阅读0次

1.编码测试(开发环境)

 npm run dev

2.打包发布 (生产环境)


 npm run build

 npm install -g serve

 serve dist

访问 http://localhost:5000/

3.安装stylus

 cnpm install stylus stylus-loader --save-dev

vue文件这么写 scoped是否该文件独有,设计的初衷就是让样式变得不可修改

<style lang="stylus" rel="stylesheet/stylus" scoped>  </style>

相关文章

网友评论

      本文标题:1.编码测试和打包发布及相关依赖环境配置

      本文链接:https://www.haomeiwen.com/subject/phzwaftx.html