ulivz / 70-lines-of-vuepress-blog-theme

A VuePress Blog Theme implemented in around 70 lines.
https://70-lines-of-vuepress-blog-theme.ulivz.com/
42 stars 26 forks source link

How use this project? #1

Open tolyanor opened 5 years ago

tolyanor commented 5 years ago

I make git clone ... npm i npm run dev

after this I see in console: Build 8d164d finished in 158 ms! (http://localhost:8080/)

but I have empty page in browser in http://localhost:8080/

UPD error in browser console:

./layouts/GlobalLayout.vue?vue&type=template&id=ee013cbe& (./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/@vuepress/core/node_modules/.cache/vuepress","cacheIdentifier":"8a9642b2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/GlobalLayout.vue?vue&type=template&id=ee013cbe&) Module Error (from ./node_modules/vue-loader/lib/loaders/templateLoader.js): (Emitted value instead of an instance of Error)

Errors compiling template:

tag

has no matching end tag.

5 |
6 |
7 |

Github · Powered by VuePress

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 |
9 |

how resolve this issue?

ulivz commented 5 years ago

Could you clone the latest code and try again?

gustawdaniel commented 5 years ago

You need to follow these steps:

0) create empty folder

1) copy files from layouts to

.vuepress/theme/layouts/

2) install packages from package.json

3) copy config.js to .vuepress/theme

4) copy _posts to root