Skip to content

基于elementUI框架的一个简单后台系统。初次尝试vue,vue-router,axios以及饿了么的UI组件2.0。

License

Notifications You must be signed in to change notification settings

lijiahao8898/share-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

share-management

一个基于vue的后台小项目。

Getting Started

just clone this pro

git clone https://github.com/lijiahao8898/share-management.git

cd share-management

npm install / sudo npm install

npm start

webpack

plugin:

  • copy-webpack-plugin - 复制文件和目录
  • html-webpack-plugin - 快速生成html
  • webpack-dev-server - 开发环境的模块热替换
  • CommonsChunkPlugin - 提取公共部分
  • uglifyjs-webpack-plugin - 压缩代码
  • extract-text-webpack-plugin - 提取css到单独的文件

introduce branch

  • master - 项目分支

what did i use ?

  • vue
  • vue-router
  • vuex
  • elementUI
  • webpack
  • axios

question

  • 使用 mode: 'history', 的时候,在此刷新当前路径会报错。具体报错如下:
VM2662:47 Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-cEmJ9wfQpnZLR35+jGeZk1WmknBbXo0CyiXREeJHUGo='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.

About

基于elementUI框架的一个简单后台系统。初次尝试vue,vue-router,axios以及饿了么的UI组件2.0。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published