A simple Vuepress starter
Demo: https://vuepress-tailwind.netlify.com/
# install vuepress globally
yarn global add vuepress@next # OR npm install -g vuepress@next
# clone or download repository
# install dependencies
yarn # OR npm install
# start writing
yarn develop
# build
yarn build
# upgrade dependencies
yarn upgrade --latest
src/.vuepress/theme/styles/config.styl
CSS Variables | Vuepress Variables | Tailwind | Note |
---|---|---|---|
--body-color | $textColor | primary | |
--accent-color | $accentColor | accent | |
--accent-hover | accenthover | ||
--border-color | $borderColor | borderColor-primary | |
--bg-color | background-primary | ||
--bg-content | background-content | ||
--bg-code | $codeBgColor | background-code |