React, Effector, Feature-sliced, Vite.js template (Dockerized)
The Feature Sliced Effector Template is a basic frontend template that utilizes the Effector library. It also includes a Dockerfile setup with Nginx.
To install and use the Feature Sliced Effector Template, follow these steps:
docker build -t <image-name> .
docker run -p 4200:80 <image-name>
Open http://0.0.0.0:4200/ to view the app.
To run the app in development mode, use the following command in the project directory:
pnpm dev
Open http://localhost:3000 to view the app in the browser.
Any edits made will automatically trigger a reload of the page, and lint errors will be displayed in the console.
To build the app for production, use the following command:
pnpm build
The production build will be optimized with minification and include hashed filenames. The build files will be located in the “build” folder.
To locally preview the production build, use the following command:
pnpm serve
The Feature Sliced Effector Template is a basic frontend template that incorporates the Effector library and provides a Dockerfile setup with Nginx. It offers features such as development mode, production build optimization, and a local preview of the production build. The template simplifies the setup process for building efficient and optimized frontend applications.