Skip to content

The project adopts the front-end and back-end separation design pattern. Back-end uses the Python Flask framework to provide data and permission verification, database backup, logging, timing tasks and email sending etc. Front-end both focus on UI and Service used Vue、Vue router、element-ui 、axios, etc.

License

Notifications You must be signed in to change notification settings

JackMin1314/vue-admin-spider

Repository files navigation

vue-admin-spider

KEYWORLDS: Back-end uses the Python Flask framework to provide data and permission verification, database backup, logging, timing tasks and email sending etc. Front-end both focus on UI and Service used VueVue routerelement-uiaxios, etc.

The project adopts the front-end and back-end separation design pattern. The server is written in the Python flask framework to provide data and permission verification, database backup and timing tasks, etc. The front end is written in vue, introducing element-ui and vue-admin.

build

here are some config files you may edit when you need to modify to build.

  • vue.config.js

in module.exports ={}

...
lintOnSave: process.env.NODE_ENV === 'production',
...
proxy: {
      '/api': {
        target: 'http://127.0.0.1:9999/',
        changeOrigin: true,
        // pathRewrite: {
        //   '^/api': '' // 将main.js设置的每次请求头/api拦截,并替换成上面target内容http://127.0.0.1:9999/
        // }
      }
    }
  • src\router\index.js

in createRouter function

const createRouter = () => new Router({
  mode: 'history', // require service support.
  scrollBehavior: () => ({
    y: 0
  }),
  routes: constantRoutes
})

About

The project adopts the front-end and back-end separation design pattern. Back-end uses the Python Flask framework to provide data and permission verification, database backup, logging, timing tasks and email sending etc. Front-end both focus on UI and Service used Vue、Vue router、element-ui 、axios, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published