Socket
Socket
Sign inDemoInstall

arthur-pendragon

Package Overview
Dependencies
3
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    arthur-pendragon

微信小程序实践


Version published
Maintainers
1
Install size
255 kB
Created

Readme

Source

arthur-pendragon

一、简介

微信小程序简单案例

使用webpack搭建的脚手架

支持哪些特性?
  • 支持es6es7 等语法
  • 支持图片压缩
  • 支持node_modules模块
  • 支持热更新
  • 可以自行扩展webpack的loader 例如使.wxss支持sass语法

二、开发调试

  • 初始化npm install
  • 启动打包服务npm start
  • 打开微信小程序调试工具
  • 选择dist目录作为小程序源代码
  • 登录即可调试

三、新增一个小程序页面

npm run new <name>

三、发布

npm run build

Keywords

FAQs

Last updated on 26 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc