Giter Club home page Giter Club logo

canvas-compose's Introduction

开发准备

全局安装 : npm i -g umi
Git地址 : https://git.dev.tencent.com/DAWi/3D-UMI.git

路由

配置文件路径: '/src/pages/routers.js'
配置方式和之前差不多,只注意下补充组件的后缀名! 如果修改了路由,需要重新执行 **umi dev**

命令

开发模式: umi dev
访问地址: http://127.0.0.1:8000
打包部署: umi build

开发

  • 与之前一样的模式,只是不用在单独跨越几个文件进行路由操作
  • import组件的时候路径可以引用 @/* 的模式来弄,以 /src 目录为基础 , 建议如果路径跨越两层的时候使用

canvas-compose's People

Contributors

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