remove README
This commit is contained in:
1 parent
2d56ba2d96
commit
fcf14412fa
2 files changed
+3
-28
No files matched your search
@@ -1,28 +1,3 @@
|
|||||||
# Vue Blogify
|
# 中文 Diary
|
||||||
|
|
||||||
Vue CLI-based static blogging platform
|
Originally intended to post about 千字文.
|
||||||
|
|
||||||
## How to use
|
|
||||||
|
|
||||||
- Edit `config.yaml`
|
|
||||||
- Edit layouts (using `*.vue`) in `src/layouts/`
|
|
||||||
- Add posts in `public/posts`, preferrably in `public/posts/<YEAR>/<MONTH>`. HTML, Pug and Markdown are supported.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
- I use NPM, and Vue CLI 3, so `npm install`
|
|
||||||
- Run using `npm run dev`
|
|
||||||
|
|
||||||
## Building and deploying
|
|
||||||
|
|
||||||
- Build using `npm run build`
|
|
||||||
- Deploy as static website, maybe using [gh-pages](https://www.npmjs.com/package/gh-pages).
|
|
||||||
- To deploy to most static websites, set `publicPath` in `vue.config.js` to `/`.
|
|
||||||
- For non-user GitHub Pages, set `publicPath` to `/<REPO_NAME>`.
|
|
||||||
- For Cordova, Electron, or local, set `publicPath` to `""`.
|
|
||||||
- Note that, if `publicPath` is not `/`, [Vue router's History Mode](https://router.vuejs.org/guide/essentials/history-mode.html) might not work.
|
|
||||||
- For instructions, see <https://cli.vuejs.org/guide/deployment.html>
|
|
||||||
|
|
||||||
## Example
|
|
||||||
|
|
||||||
See <https://vue-blogify.patarapolw.now.sh>
|
|
||||||
+1
-1
@@ -9,7 +9,7 @@ div
|
|||||||
b-navbar-nav.ml-auto
|
b-navbar-nav.ml-auto
|
||||||
b-nav-form(@submit.stop.prevent)
|
b-nav-form(@submit.stop.prevent)
|
||||||
b-form-input.mr-sm-2(size="sm" placeholder="Type to search" style="min-width: 200px" v-model="g.q")
|
b-form-input.mr-sm-2(size="sm" placeholder="Type to search" style="min-width: 200px" v-model="g.q")
|
||||||
b-nav-item(to="/about") About
|
b-nav-item(v-if="g.config.about" to="/about") About
|
||||||
b-container.mt-3
|
b-container.mt-3
|
||||||
b-row
|
b-row
|
||||||
b-col(sm=12 lg=8)
|
b-col(sm=12 lg=8)
|
||||||
|
|||||||
Reference in new issue
Block a user