Giter Club home page Giter Club logo

template's Introduction

Vue 3 + TypeScript + 模版

模版中已包含mint-ui 组件,可直接使用

待修改文件

  • aks.js 中路径修改为正确路径
const projectName = "templateName";
const projectPath = `/待修改路径/templateName/`; //例如小金库 const projectPath = `/ck/templateName/`

export { projectName, projectPath };

目录结构

├── dist // 打包输出目录
├── public 
├── src 
│    ├── assets  // 公共图片
│    ├── components // 业务组件
│    ├── css // 样式目录
│    │   ├── variable.scss // 公共变量
│    │   ├── font.scss
│    │   └── base.scss
│    ├── router // 路由配置
│    │   └── index.ts
│    ├── hooks //公共逻辑封装
│    │   └── index.ts 
│    ├── types //ts类型 interface
│    │   └── index.ts 
│    ├── utils // 工具类
│    │   ├── config.ts // 常量
│    │   ├── util.ts // 公共方法
│    │   ├── request.ts
│    │   └── service.ts
│    ├── views // 路由页面
│    │    └── index // 栗子
│    │        ├── index.vue
│    │        └── index.scss
│    ├── App.vue
│    └── main.ts //入口文件 
├── package.json 
├── tsconfig.json 
├── tsconfig.node.json
├── README.md
└── vue.config.js

npm i @jd/mint-ui -S --registry=http://registry.m.jd.com

template's People

Contributors

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