ulivz / 70-lines-of-vuepress-blog-theme Goto Github PK
View Code? Open in Web Editor NEWA VuePress Blog Theme implemented in around 70 lines.
Home Page: https://70-lines-of-vuepress-blog-theme.ulivz.com/
A VuePress Blog Theme implemented in around 70 lines.
Home Page: https://70-lines-of-vuepress-blog-theme.ulivz.com/
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 |
Github · Powered by VuePress
6 |
7 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8 |
9 |
how resolve this issue?
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet.
We recommend using:
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet.
We recommend using:
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
This code base is unusable.
yarn
yarn dev
yarn build
Hi!
I've been trying to setup the project but so far I've only gotten as far as a 404 with the default layout and everything.
the steps ive taken:
npm install
vuepress build examples
/examples/.vuepress/theme/layouts
_posts
to examples
My folder structure looks like this right now:
70-lines...
|-- examples
| |-- .vuepress
| | |-- dist
| | `-- theme
| | |-- layouts
| | | |-- GlobalLayout.vue
| | | |-- Layout.vue
| | | |-- Post.vue
| | | `-- Tag.vue
| | `-- config.js
| `-- _posts
|-- node_modules
|-- index.js
|-- package.json
|-- package-lock.json
`-- Readme.md
I go to -> /examples
and run vuepress dev
to get my 404 page
I am confused as to what purpose some files serve and this all seems very half-assed to me or maybe i'm just missing something.
The confusion is set from firstly
config.js
this basically wants to require.resolve
something out in the root folder id guess the Index.js?
why wouldn't you just put the configuration, into the configuration file, not have them separately.
But the main problem i think is is the GlobalLayout.vue
, my 404 page shows neatly with the general styling and everything, but since there is no component folder, where should this component be coming from? how does this work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.