VueNotes
Less than 1 minute
After the vuebook re-init
- Copied over the
node_modulespackage.jsonpnpm-lock.yamltsconfig.json
- I had to reinstall
vuepress-theme-hopewithpnpmin the newly reformedvuebookdirectorypnpm install vuepress-theme-hope - And that worked.
- You can check installed packages
eshimbp22:vuebook eshim$ pnpm list Legend: production dependency, optional only, dev only vuebook@2.0.0 /Users/eshim/vuebook dependencies: markdown-it-implicit-figures 0.11.0 search 1.0.0 devDependencies: @vuepress/client 2.0.0-beta.66 typescript 5.1.6 vue 3.3.4 vue-router 4.2.4 vuepress 2.0.0-beta.66 vuepress-plugin-md-enhance 2.0.0-beta.233 vuepress-plugin-search-pro 2.0.0-beta.233 vuepress-theme-hope 2.0.0-beta.233
Following the guide on: Digital Ocean VuePress Intro
Use Homebrew to install nodejs@18 and npm globally
if the brew install commands fail...
- If Homebrew fails, you may need to update it to an
unshallow clone(whatever that is) - Update Homebrew using an "unshallow" clone
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
- Open terminal, use
brewto find node, install version 18node@18
brew install node@18
- Use
brewto installnpm
brew install npm
Initiate vuepress project
Original guide from: Digital Ocean VuePress Intro
Initialize ~/vuebook with npm
- Initialize
vuebookas annpmprojectcd ~/vuebook npm init --yes - Use
pnpmto installvueandvuepresspnpm install vuepress-theme-hope- At date of writing,
vueis at version3.3.4andvuepressat1.9.9
- At date of writing,