Giter Site home page Giter Site logo

bh90210 / wails-create-react-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 631 KB

Wails template for React JS

License: The Unlicense

HTML 15.99% CSS 8.78% JavaScript 75.23%
wails wails-app react reactjs create-react-app template golang go javascript wails-create-react-app

wails-create-react-app's Introduction

THE FOLLOWNG IS OUTDATED, IT'S LEFT HERE FOR REFERENCE ONLY

Create React App v3 template for Wails (yarn version)

Create new Wails projects w/ React JS using yarn instead of Wail's default npm option. For more information on Create React App please check the official documentation.

prerequisites

Have Yarn installed at your system

installation

download (or clone) the repository and copy the create-react-app-yarn folder inside wails templates directory $GOPATH/src/github.com/wailsapp/wails/cmd/templates

cd $GOPATH/src/github.com/wailsapp/wails/cmd/templates
git clone https://github.com/bh90210/wails-create-react-app-yarn.git
cp -R wails-create-react-app/create-react-app-yarn .
rm -R wails-create-react-app

initialise a project

run wails init from your terminal and select option React JS (yarn)

$ wails init
Wails v0.15.0 - Initialising project

The name of the project (My Project): MyProject        
Project Name: MyProject
The output binary name (myproject): 
Output binary Name: myproject
Project directory name (myproject): 
Project Directory: myproject
Please select a template:
  1: React JS (yarn) - Create React App v3 template
  2: React JS - Create React App v3 template
  3: Vue2/Webpack Basic - A basic Vue2/WebPack4 template
  4: Vuetify Basic - Vuetify + Webpack
Please choose an option [1]: 

usage

serve the project

first run command wails serve in the project directory

then cd frontend and yarn run start to serve the front-end

Go/Js

wip

ejecting

if you wish to eject run yarn eject in the project/frontend directory

wails-create-react-app's People

Watchers

 avatar

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.