Coder Social home page Coder Social logo

vue_element-cms's Introduction

1)用cli脚手架创建vue项目

2)安装路由router

  1. npm install vue-router -S 安装router

  2. 在src中创建router.js

  3. 并在main.js中挂载router

3)安装vuex

  1. npm install vuex -S
  2. import Vuex from 'vuex' Vue.use(Vuex)

4)安装axios

  1. npm install axios -S 安装aiox
  2. 在utils文件中创建fetch.js 并创建aiox实例

5)安装element

  1. npm i element-ui -S
  2. 在main.js中引入

6)安装sass

  1. npm install -D sass-loader sass

vue_element-cms's People

Contributors

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