A Vue.js project
完成了小说,视频mv,个人信息页面展示的模块.
小说支持分类,排行,搜索,阅读,满足了基本需求,后续会添加其他模块,并做一些优化.
视频完成了分类,播放.
登录注册模块
采用邮箱验证方式,用用户名和字符串生成token,用cookie和session当做载体,在每次操作后都替换上一次的token。
小说阅读
翻页效果,动态创建div,根据小说每章的字数。
上传头像
将图片转为blob发送到后台
# 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.