Giter VIP home page Giter VIP logo

puerts-framework's Introduction

puerts-framework

怎么跑这demo?

  • 需要安装vscode,node,npm,typescript环境

  • 下载node.js.安装程序Node.js官网,安装完毕后,使用node -v查看版本

  • npm已经在Node.js安装的时候顺带装好了。我们在终端输入npm -v查看版本,npm是Node.js的包管理工具(package manager)

  • 安装 TypeScript 到系统环境,终端输入npm install typescript -g安装

  • 使用vscode 打开TsProj目录

  • 打开vosde的终端命令行

  • 执行npm install拉取项目依赖(package.json中配置)到本地项目,会生成一个node_modules文件夹,里面是项目依赖

  • 执行npm run dev,编译ts到bundle.js的develop开发版本,bundle.js文件较大,且有.map映射文件,可调试,看日志堆栈

  • 执行npm run build,编译ts到bundle.js的release发布版本,bundle.js文件较小,不可调试,日志无堆栈

puerts-framework's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.