Skip to content

magic-examples/example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@magic-examples/example

This is a simple example app that show some of the @magic features.

visit the @magic-examples github organization to see other examples

NPM version Linux Build Status Windows Build Status Coverage Status Greenkeeper badge Known Vulnerabilities

installation

requirements

  • 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/example ./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 git@provider.com/{your name}/{your repo}

// publish changes, after committing them to the local git
git push