Code Monkey home page Code Monkey logo

big_event_front's Introduction

big_event

链接: https://pan.baidu.com/s/1ay2m8MIVGMATYfpMvilE7g 提取码: 3vgf 复制这段内容后打开百度网盘手机App,操作更方便哦 vue项目建立(人生苦短,我用webstorm。)

npm init  vue@latest

加入依赖

npm install element-plus --save         #饿了么UI 
npm install axios                       #类似hutool的HttpUtils 就一请求工具
npm install pinia                       #状态管理工具 用来放Token userInfo
npm install pinia-persistedstate-plugin #持久化pinia数据
npm install vue-router@4                #安装路由进行页面跳转


vue的富文本编辑器

vue-quill 

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

项目结构

├─api               #业务请求接口
├─assets            #资源图片
├─components        
├─router            #路由
├─stores            #状态管理(就类似放到临时变量里,可以持久化)
├─utils             #axios请求返回封装(包含请求拦截器和响应拦截器)
└─views             #页面
    ├─article
    └─user

vite.config.js

包含
代理:用来开发阶段解决跨域
路径别名映射: .src =====> @

不包含

跨页面信息传递:父子通信
打包部署
nginx反向代理

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.