Comments (4)
This is intended. You simply init a new repo and force push on each deploy.
from vuepress.
Where in the docs was this suggested? Haven’t come across it in my reading and that doesn’t sound like the right thing to do either! The dist
folder should typically just be used for outputting the generated content.
Edit: found it! I think that’s a bit of a hacky way to get it to work with GitHub pages. It even sounds like they’re saying to run it with CI as you know it’s going to get wiped. Honestly, save yourself the headache and give Netlify a go for deployment. It’s super easy and won’t have this issue as it’s doing the building on their side.
from vuepress.
Copy/move .git
directory before running vuepress build
and restore it after.
Maybe this script will help you, but it is a PowerShell script.
from vuepress.
Some of us are deploying to intranet. Therefore cloud resources such as Netlify, etc aren't an easy option. We have an Enterprise Github instance, so I'll try @vhanla 's suggestion.
Thank you.
from vuepress.
Related Issues (20)
- md文件里,使用vue组件,导致aside一直在左边
- Funinthesun210
- When permalink is used in md, the corresponding folder is not generated in Linux environment packaging
- the link address is wrong
- Base url does not work for anchor tags on build
- -
- Uncaught (in promise) Error: pageData() is called without provider. HOT 2
- Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.
- copy code 无法在微信H5中使用
- 迁移@vuepress/client到vuepress/client导致三方插件未适配新版本的全部无法使用
- Emoji link has been changed.
- The auto-sidebar config can not generate multi first-level headings but only one.
- VuePress compilation error HOT 4
- The home page repeat render twice HOT 2
- How can I get md data in my vue components?
- module.experts support footer includes
- The documentation should start with a tutorial that covers most use cases
- 我需要自定义 webSocketURL HOT 2
- [mobile bug] Search bar causes content bleed
- [bug] Incorrect next and previous anchoring HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress.