GithubHelp home page GithubHelp logo

sol-pet-legends's Introduction

Sol Pet Legends

Integrating a virtual pet breeding gameplay with a cashback app to create a mixed reality interaction model and a shopping experience that sns from web2 to web3.

Acknowledgements

Table of Contents โœจ

Installation

To install and run Next.js Chrome Extension locally, follow these steps:

  1. Clone this repository:
    git clone https://github.com/futianshen/sol-pet-legends.git
  2. Navigate to project directory:
    cd sol-pet-legends
  3. Install the dependencies using yarn:
    yarn

Usage

Usage Locally ๐Ÿ”ฅ

Run the project:

yarn dev

This will run project on your localhost

http://localhost:3000/

Build and Import To Chrome ๐Ÿ”ฅ

To build and import Next.js Chrome Extension to chrome browser, follow these steps:

  1. rename the images in the following way:
import phantom from "@/public/images/phantom.png"

<img src={phantom.src} alt="phantom" />

to

import phantom from "@/public/images/phantom.png"

<img src={phantom.src.replace("_next", "next")} alt="phantom" />
  1. Build the project:

    This will run prep and export to create new folder 'out/', and rename '_next' folder to 'next' (without underscore)

    yarn build
  2. Open Google Chrome and go to chrome://extensions.

  3. Enable the "Developer mode" toggle switch.

  4. Click on "Load uncked" and select the out folder generated by the build process.

  5. The Next.js Chrome Extension Starter should now be loaded as an uncked extension in Google Chrome.

sol-pet-legends's People

Contributors

futianshen avatar ibnzuk avatar joe888777 avatar bemoche avatar

Watchers

 avatar

Forkers

solpetlegends

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.