Technology stack: vue2 + vuex + vue-router + webpack + sass + element-ui + web3
Run npm install
to generate component.
Run npm run dev
for a dev server. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
Go to the config/
directory and modify the URL in the prod.env.js
file.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory.
-
vue:Vue is a progressive framework for building user interfaces.
-
vuex:Vuex is a state management pattern developed specifically for vue.js applications.
-
vue-router:Vue router is the official routing manager of vue.js.
-
webpack:Front end module packer.
-
element-ui:Element, a desktop component library based on Vue 2.0 for developers, designers and product managers.
-
web3.js:Web3.js is a set of JS libraries used to interact with local or remote Ethereum nodes.
Preparation before operation:
Since this project is based on nodejs, you need to make preparations for nodejs. Before running the project, please ensure that the following applications have been installed in the system:
(1)、Node (version 10.18.0 and above). Please refer to:Download and install node.
For a detailed explanation on how things work, check out the guide and docs for vue-loader.