brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

Solution: How to use with Kirby 2.x, since Kirby 3 is out #54

Closed monobasic closed 5 years ago

monobasic commented 5 years ago

Kirby's Repos have changed since the release of V3. The "legacy" v2 versions are now on: https://github.com/getkirby-v2

What most likely will happen: If you run '$yarn start' or $npm run start - Kirby and Panel will be updated to V3 and nothing will work any more :)

So, to use your existing Kirby 2 Setup with kirby-webpack, do the following:

  1. Change the repo urls inside kirby.config.json: { "modules": { "core": "https://github.com/getkirby-v2/kirby.git", "panel": "https://github.com/getkirby-v2/panel.git", .....
  2. Run either $npm run kirby:update -- --force, or if you use yarn $yarn kirby:update --force
  3. Voilà! :)
arnaudjuracek commented 5 years ago

FIY, I just created a Kirby 3 branch partially based on your fork. Feel free to PR if you want to add things.

Once properly tested, this branch will be merged in the main repository.

Once merge on master, Kirby-webpack for kirby 2 will still be available on a dedicated kirby-2 branch.