Coder Social home page Coder Social logo

vue3-template's Introduction

Vue 3 + Typescript + Vite + qiankun + VueX + Vue-router

This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

开发前请仔细进行阅读

  1. 项目默认使用的是main.ts作为项目的主入口启动,如果你是开发子应用那你应该删除它,并把 main-child.ts手动更改为main.ts
  2. srcapi为请求的案例,项目开始前你应该拿到后端的接口文档,优先对项目接口进行统一封装、类型声明
  3. srcqiankun 为加载子应用的配置,你可以在这里进行路由规则的匹配封装
  4. srccomponents 这里用来存放全局组件,统一index进行导出,案例中展示了setup props传值 vue2的写法
  5. srcstylecomponet.scss 为项目预加载的通用scss文件,在vite.config配置,你应该在这里使用$定义的通用的主题色

vue3-template's People

Watchers

James Cloos 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.