docs: migrating from v1

This commit is contained in:
2026-03-15 17:02:17 +01:00
parent 85b27e3a73
commit b0afa4c625
+19 -3
View File
@@ -1,5 +1,6 @@
# Vue-boilerplate # Vue-boilerplate
*Minimal static Vue project*
_Minimal static Vue project_
<!-- TODO: 1. rename app (and tool URL) --> <!-- TODO: 1. rename app (and tool URL) -->
@@ -40,6 +41,21 @@ To update from templates latest changes:
make update-template make update-template
``` ```
### Upgrade from version 1
```shell
git remote add template git@github.com:klemek/vue-boilerplate.git
git fetch --all
git checkout -b v1 origin/master
git branch -D master
git checkout -b master template/master
bun install
# re-code logic by checking online code
git commit -a -m 'v2'
git push origin master v1 --force
git remote --remove template
```
### Makefile targets ### Makefile targets
```txt ```txt
@@ -59,5 +75,5 @@ BUN = bun
### Tips ### Tips
* [Material design colors](https://materialui.co/colors/) are available, you can use `class="red-500"` on your HTML - [Material design colors](https://materialui.co/colors/) are available, you can use `class="red-500"` on your HTML
* [Lucide icons](https://lucide.dev/icons) are available, you can use `<LucideIcon name=house/>` on your Vue template - [Lucide icons](https://lucide.dev/icons) are available, you can use `<LucideIcon name=house/>` on your Vue template