this is the @magic-examples project page.
visit the @magic-examples github organization to see other examples
- be in a directory you want to work in
- have nodejs > 14.2.0 installed.
// clone this repository
git clone https://github.com/magic-examples/project ./your-project-name
// go to the new project directoy
cd ./your-project-name
// install @magic dependencies
npm install
// run dev server
npm run dev
// goto http://localhost:2323 in your browser to see the page
// build changes you made to docs dir
npm run build
// reset the remotes to your repository
git remote rename origin upstream
git remote add origin [email protected]/{your name}/{your repo}
// publish changes, after committing them to the local git
git push