Skip to content

Repository files navigation

NeutralinoJS + Vue 3 Example

This project is a template for NeutralinoJS integrating with Vue 3.

Recommended IDE Setup

VS Code + Vue (Official) (and disable Vetur).

Recommended Browser Setup

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

1. Install Dependencies

npm install

2. Initialize/Update Neutralinojs Binaries

Download the necessary Neutralinojs binaries for your platform:

npm run neu:update

Development

1. Run Vite Dev Server

In one terminal, start the Vue development server:

npm run dev

2. Run Neutralinojs Application

In another terminal, run the application in development mode:

npm run neu:run

Production Build

1. Build Vue Frontend

npm run build

2. Package Neutralinojs Application

npm run neu:build

Note: You can also install the Neutralinojs CLI globally if you prefer:

npm install -g @neutralinojs/neu

Then you can use neu commands directly:

neu update
neu run
neu build
neu build --release

About

This project is a template for NeutralinoJS integrating with Vue 3.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages