Giter Site home page Giter Site logo

learncodingforweb / wails-template-nextjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lgiki/wails-template-nextjs

1.0 0.0 0.0 283 KB

A wails template with Next.js

License: MIT License

Shell 8.84% JavaScript 29.71% Go 23.26% TypeScript 14.84% CSS 15.32% Batchfile 8.03%

wails-template-nextjs's Introduction

Wails template Next.js

GitHub

A Wails template with Next.js and TypeScript.

You can develop applications using Next.js and then use Wails to package your application as a cross-platform program that is compatible with Linux, macOS and Windows. And you can easily call Go methods from JavaScript.

This project uses next export to export the Next.js application to static HTML, and then uses Wails to package the static files into a program, so some Next.js features are unsupported, see https://nextjs.org/docs/advanced-features/static-html-export for details.

Screenshot

Getting Started

Prerequisites

New Project

You can create a new wails project using:

wails init -n "Your Project Name" -t https://github.com/LGiki/wails-template-nextjs

Building

If you modified the Go code, you need to run wails generate module to generate the wailsjs modules first. Then using wails build to build your application.

You can run wails build --help or go to https://wails.io/docs/next/reference/cli#build to view all build flags.

Live Development

To run in live development mode, run wails dev in the project directory.

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.