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.
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.
The application is structured according to this.
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
> npx prettier --check .
> npx prettier --write .
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.
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;
- How to polyfill Buffer with Webpack 5
- Working with Webpack
- Uncaught ReferenceError: Buffer is not defined
- How to Polyfill node core modules in webpack 5
For Svelte / Svelte Kit;
For Stacks.js see;
For Ecosystem DAO see;