The following guide is intended to get this repository running locally.
In case you want to create a neo.mjs App, you have 3 different options:
- Use npx neo-app
- Fork the neo.mjs workspace
- Follow this guide (Step 6 creates a new App inside neo/apps)
-
Clone this repo to your system to get the project files
git clone https://github.com/neomjs/neo.git
-
Open the checked out top level folder inside your terminal
cd neo
-
Install the required node modules
npm install
-
Run all relevant build scripts at once
npm run build-all
(See the Command-Line Interface for further details.)
-
Make sure to use a local WebServer!
- Use a local webserver of your choice (E.g. Webstorm)
- OR
npm run server-start
- A browser tab showing your app opens automatically.
- You can also manually access it: http://localhost:8080/
(JS module imports can not work on the local file system (security).)
-
Optional:
npm run create-app
You can run the examples & docs app without any JS build directly in Chromium (Chrome, Edge) or Safari Tech Preview:
localhost/neo/docs/
localhost/neo/examples/component/helix/
These versions also work in Firefox & Safari
localhost/neo/dist/development/examples/component/helix/
localhost/neo/dist/production/examples/component/helix/
Copyright (c) 2015 - today, Tobias Uhlig
& Rich Waters