mmf-blog vue2.0 (vue2, vue-router, vuex)

Overview

mmf-blog vuejs 2.0 v2 中文说明

demo: http://vue2.mmxiaowu.com

The main technical stack: vue2, vue2-router, vuex, webpack, babel, eslint


Other versions

react(spa): https://github.com/lincenying/mmf-blog-react-v2

vue2(spa): https://github.com/lincenying/mmf-blog-vue2

vue2(pwa ssr): https://github.com/lincenying/mmf-blog-vue2-pwa-ssr


First installation api server:

koa2: https://github.com/lincenying/mmf-blog-api-koa2-v2

express: https://github.com/lincenying/mmf-blog-api-v2

# Install dependencies
yarn  #or  npm install
# Note: do not install with CNPM dependency

# Product
yarn build

# Develop
yarn serve

Home Site http://localhost:8081

Login http://localhost:8081/backend

LICENSE

MIT

Comments
  • run error

    run error

    [HPM] Proxy created: /api -> http://localhost:4000 [HPM] Proxy rewrite rule created: "^/api" ~> "/api" Listening at http://localhost:8080

    webpack built 5cd06c987997142c0870 in 1685ms Hash: 5cd06c987997142c0870 Version: webpack 2.2.1 Time: 1685ms Asset Size Chunks Chunk Names app.js 1.08 kB 0 app admin.js 1.08 kB 1 admin vendor.js 1.23 MB 2 vendor

    ERROR in ./src/app.js Module build failed: SyntaxError: C:/Users/stkang90/Desktop/mmf-blog-vue2/src/app.js: Unexpected token (22:4)

    20 | router, 21 | store,

    22 | ...App | ^ 23 | }) 24 | 25 | app.$mount('#app')

    @ multi ./build/dev-client ./src/app.js

    ERROR in ./src/admin.js Module build failed: SyntaxError: C:/Users/stkang90/Desktop/mmf-blog-vue2/src/admin.js: Unexpected token (17:4)

    15 | router, 16 | store,

    17 | ...App | ^ 18 | }) 19 | 20 | app.$mount('#app')

    @ multi ./build/dev-client ./src/admin.js Child html-webpack-plugin for "admin.html": Asset Size Chunks Chunk Names admin.html 29.4 kB 0 Child html-webpack-plugin for "index.html": Asset Size Chunks Chunk Names index.html 28.4 kB 0 webpack: Failed to compile.

    opened by stkang 2
  • Bump http-proxy from 1.18.0 to 1.18.1

    Bump http-proxy from 1.18.0 to 1.18.1

    Bumps http-proxy from 1.18.0 to 1.18.1.

    Changelog

    Sourced from http-proxy's changelog.

    v1.18.1 - 2020-05-17

    Merged

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump elliptic from 6.5.2 to 6.5.3

    Bump elliptic from 6.5.2 to 6.5.3

    Bumps elliptic from 6.5.2 to 6.5.3.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump lodash from 4.17.15 to 4.17.19

    Bump lodash from 4.17.15 to 4.17.19

    Bumps lodash from 4.17.15 to 4.17.19.

    Release notes

    Sourced from lodash's releases.

    4.17.16

    Commits
    Maintainer changes

    This version was pushed to npm by mathias, a new releaser for lodash since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump websocket-extensions from 0.1.3 to 0.1.4

    Bump websocket-extensions from 0.1.3 to 0.1.4

    Bumps websocket-extensions from 0.1.3 to 0.1.4.

    Changelog

    Sourced from websocket-extensions's changelog.

    0.1.4 / 2020-06-02

    • Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by Robert McLaughlin)
    • Change license from MIT to Apache 2.0
    Commits
    • 8efd0cd Bump version to 0.1.4
    • 3dad4ad Remove ReDoS vulnerability in the Sec-WebSocket-Extensions header parser
    • 4a76c75 Add Node versions 13 and 14 on Travis
    • 44a677a Formatting change: {...} should have spaces inside the braces
    • f6c50ab Let npm reformat package.json
    • 2d211f3 Change markdown formatting of docs.
    • 0b62083 Update Travis target versions.
    • 729a465 Switch license to Apache 2.0.
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump acorn from 6.4.0 to 6.4.1

    Bump acorn from 6.4.0 to 6.4.1

    Bumps acorn from 6.4.0 to 6.4.1.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • store bug??

    store bug??

    [backend-category-insert.vue] this.$store.commit('backend/category/insertCategoryItem', { ...this.form, _id: data })

    this.$store.commit('global/category/insertCategoryItem', { ...this.form, _id: data })

    opened by stkang 1
  • 关于进度条

    关于进度条

    博主,你好实在没有看懂你写的进度条怎么就起作用了?? watch: { 'global.progress'(val) { if (val === 0) { console.log('0执行了') NProgress.set(0) NProgress.start() } else if (val === 100) { console.log('100执行了') NProgress.done() } else { console.log(val) NProgress.set(val/100) NProgress.start() } } } 这段代码中间会打印50,这50哪里来的啊? router.beforeEach((route, redirect, next) => { store.dispatch('global/gProgress', 0) next() }) 路由钩子只在跳转前dispatch一次action,actions再commit mutation ,然后改变state,因为只有这一次发生了state值得改变,最终路由跳转完成了mouted钩子起作用,再次设置100.请问那个中间的state状态的改变如何发生的呢????

    opened by elva2596 1
  • vue-loader的style错误

    vue-loader的style错误

    ERROR in ./src/components/ProgressBar.vue?vue&type=style&index=0&id=5734e3c6&scoped=true&lang=css (./node_modules/[email protected]@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/[email protected]@vue-style-loader!./node_modules/[email protected]@css-loader??ref--6-oneOf-0-1!./node_modules/[email protected]@vue-loader/lib??vue-loader-options!./src/components/ProgressBar.vue?vue&type=style&index=0&id=5734e3c6&scoped=true&lang=css) Module build failed: CssSyntaxError:

    dev编译时,ProgresressBar.vue里面style报错,这个怎么解决?

    另外,dev-server.js的html-webpack-plugin-after-emit报cb未定义。小提示

    opened by yiqianglin 6
  • 缺mixins/check-admin,请问下载哪里呢?

    缺mixins/check-admin,请问下载哪里呢?

    This dependency was not found:

    • ~mixins/check-admin in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/backend-article-comment.vue, ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/backend-user-modify.vue and 9 others
    opened by justin76tan 1
Owner
LinCenYing
const biography =`月洛巫啼酸满天`
LinCenYing
Blog-Test - created Blog using vuejs , vuex

blogpostsite Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production npm run build Li

null 0 Jan 4, 2022
:star2: PJ Blog is an open source blog built with Laravel and Vue.js.

?? PJ Blog is an open source blog built with Laravel and Vue.js. https://pigjian.com Special thanks to the generous sponsorship by: PJ Blog This is a

Jiajian Chan 2.8k Jan 8, 2023
A basic setup for Vue.js project . vuex, vuex-persistedstate, vue-router , vue-resource , sweetalert2.

Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production npm run build Lints and fixes

Swafia Akter 0 Jan 5, 2022
Build a multi-user blog project with Vue.js, Vuex and Firebase

fireblogs Project Overview This is the completed source code for FireBlogs. This application is built with Vue.js (version 2) & Firebase. This video w

null 5 Dec 30, 2021
My-blog - learn Vuex 4 Firebase Auth tutorial from the Net Ninja YouTube channel.

My-blog - learn Vuex 4 Firebase Auth tutorial from the Net Ninja YouTube channel.

Sean Wong 0 Jan 5, 2022
A blog made with vue2,go,elementUI

a blog made with vue go preview login with vertify admin frontend support admin admin account token verify publish article frontend display article pl

reoreo 33 Dec 1, 2022
WordPress module for Vue.js, PWA ready, with full support for Vuex Store, Vue Router, Vue SSR and Nuxt.js.

WordPress module for Vue.js, PWA ready, with full support for Vuex Store, Vue Router, Vue SSR and Nuxt.js.

Vue WordPress 26 Apr 9, 2022
Meals App using Vue.js 2, Vuetify, Vuex, Vue-Router & Axios.

Meals App using Vue.js 2, Vuetify, Vuex, Vue-Router & Axios.

Alexanyer Naranjo 7 Feb 4, 2022
Basic vuejs project boiler-plate setup with tailwindcss, vuex, vue-router, vue-i18n...

Basic vuejs project boiler-plate setup with tailwindcss, vuex, vue-router, vue-i18n...

fotiecodes 2 Nov 3, 2022
A minimal sample configuration with vue, vuex, vue-router, vuetify, Typescript and cesium.

vue-stack-cesium A minimal sample configuration project which shows how to combine and use certain packages and is a useful testing project for new up

Gerhard Mesch 14 Dec 23, 2022
A Social Media Web App built with Vue.js, Firebase, Element-UI, Disqus, Vuex, Vue-Router, and Sass.

All-About-Me A Social Media Web App built with Vue.js, Firebase, Element-UI, Disqus, Vuex, Vue-Router, and Sass. Online Demo https://bb-all-about-me.n

Amber Hung 14 Apr 18, 2022
VueShop is Shopping cart demo using Vue js, vue-router, vuex.

?? Table of Contents About website description Project setup Compiles and hot-reloads for development Website link ScreenShots Contributors About VueS

Asmaa Adel 3 Oct 27, 2022
vue项目实战(模仿京东),技术栈vue2+vue-router+vuex+webpack+ES6,非常适合练手vue

About 技术栈 vue + vue-router + vuex 构建的移动端电商系统(模仿京东);数据都是先真实向服务器发送请求(有一个服务器端口可以响应请求,只是没有合适的数据),之后在本地替换(大体逻辑需要数据时,向该接口发送请求,得到响应后再替换成所需数据(所有数据均存放在common下的

coderOrange 9 Dec 12, 2022
A fully responsible Studio Ghibli finder app that searches and filters movies using Vue3,Vuex,Vue Router,Bootstrap5 and Scss.

vue-ghibli-studio-app A fully responsible Studio Ghibli finder app that searches and filters movies. It was created by using Vue3,Vuex,Vue Router,Boot

Emre Süslü 0 Oct 27, 2021
Full CRUD using vuex, vue router, firebase and composition API

vue3-firebase Project setup yarn install Compiles and hot-reloads for development yarn serve Compiles and minifies for production yarn build Lints

J Not Query 1 Dec 27, 2021
this repo demonstrates the vuejs app using vuetify, vuex, vue router

news-app, a vuejs app this repo demonstrates the vuejs app using vuetify, vuex, axios, and vue-router requirements this app requires the following to

bondythegreat 1 Feb 2, 2022
Use of own created Api in Laravel. Vuex,Vue Router, Axios

moshop2_use_own_api Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production npm run bu

null 0 Jan 21, 2022
[DEPRECATED] ✏️ A blog based on GitHub Pages built with Vue.js 2 + webpack 3.

vue-ghpages-blog ✏️ A blog based on GitHub Pages built with Vue.js 2 + webpack 3. 一个依赖 GitHub Pages,无需本地生成的静态博客,使用了 Vue.js 2 组件开发,webpack 3 打包。 [DEPRE

viko16 406 Nov 30, 2022
Vuedo is a blog platform, built with Laravel and Vue.js.

Vuedo What is Vuedo? Vuedo is an open source project built with Laravel and Vue.js. It is a live example of how everything works together. Interested

vuedo 2.3k Dec 24, 2022