基于完成评论功能模块的搭建
线上预览地址:http://119.29.185.236/#/comment
1.发表评论功能和回复评论功能
2.使用sessionSessionStorage模拟保存评论
3.使用v-show完成折叠评论的功能
4.组件迭代使用实现多级评论,project/inject进行爷父孙组件通信
A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.