VueNotes
Less than 1 minute
After the vuebook re-init
- Copied over the
node_modules
package.json
pnpm-lock.yaml
tsconfig.json
- I had to reinstall
vuepress-theme-hope
withpnpm
in the newly reformedvuebook
directorypnpm 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
nodejs@18
and npm
globally
Use Homebrew to install 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
brew
to find node, install version 18node@18
brew install node@18
- Use
brew
to installnpm
brew install npm
Initiate vuepress project
Original guide from: Digital Ocean VuePress Intro
~/vuebook
with npm
Initialize - Initialize
vuebook
as annpm
projectcd ~/vuebook npm init --yes
- Use
pnpm
to installvue
andvuepress
pnpm install vuepress-theme-hope
- At date of writing,
vue
is at version3.3.4
andvuepress
at1.9.9
- At date of writing,