Skip to content

Clarity-Innovation-Lab/stxeco-svelte

Repository files navigation

Ecosystem DAO

Front end application for the Ecosystem DAO. The Ecosystem DAO is an open source project desiged to engage and include the Stacks Community in decision making about the Stacks Network and related projects.

Creating this project

Project created using

npm create svelte stxeco-svelte

With options

  • Typescript -> yes
  • Eslint -> yes

See also dev notes below for instructions on polyfilling Buffer into webpack 5.

File Structure

The application is structured according to this.

Developing

Clone the repo and install dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

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

Prettyfying

> npx prettier --check .
> npx prettier --write .

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Dev Notes

The Vite config has been tailored to include a ployfil for the Buffer library which Stacks.js library requires.

npm install -D buffer
npm install -D rollup-plugin-polyfill-node

See following;

Reference

For Svelte / Svelte Kit;

For Stacks.js see;

For Ecosystem DAO see;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published