Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.04 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.04 KB

Developing

About Tact Source Code

  1. Tact code is under the src directory. The src directory contains the following files: src/routes/(examples) - The source code for the examples.
  2. The terminal output is located in src/routes/(examples)/+layout.svelte file.
  3. Run npm run tact-build to compile the Tact code you just added.

About the Examples Order

  1. Check the order in the src/routes/(examples)/examples.json file.
  2. The id determines the sequence of the examples in the app.

Running the project

Once you've run npm install start a development server:

npm run dev
# Use the Network option to view it on your phone

# or start the server and open the app in a new browser tab
npm run dev -- --open

Releasing

  1. Test the app in dev mode.
  2. Make sure to update the version in package.json.
  3. Run npm run build which will build to the docs directory.
  4. Run npm run preview to test the app in production mode.