Coder Social home page Coder Social logo

mychat's Introduction

Remax Wechat

使用 Remax 开发微信小程序。

Getting Start

安装依赖

npm install

调试项目

# 执行调试命令
$ npm run dev
or
yarn dev

使用小程序开发者工具打开项目下的 dist 目录

构建

# 执行构建命令
$ npm run build
or
$ yarn build

使用小程序开发者工具打开项目下的 dist 目录,上传代码即可。

UI框架Annar

$ npm install anna-remax-ui --save

项目结构

现在我们来看一下 Remax 应用的结构: my-app/ ┳ package.json ┣ remax.config.js ┣ dist/ ┣ node_modules/ ┣ public/ ┣ src/ ┗━┓ app.js ┣ app.css ┣ app.config.js ┣ pages/ ┗━┓ index/ ┣ heart/ ┣ mine/ ┗━┓

dist 为编译后的文件目录。

public 为全局静态资源目录。

src 为源文件目录。

app.js 入口文件。

app.css 全局样式文件。

app.config.js 为小程序全局配置文件,对应 app.json

remax.config.js 项目配置

mychat's People

Stargazers

可乐 avatar Cai Huanyu avatar Wei Zhu avatar emmm avatar

Watchers

可乐 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.