|
4 years ago | |
---|---|---|
src | 4 years ago | |
vue-vuex-registration-login-example-docs | 5 years ago | |
.babelrc | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE.md | 4 years ago | |
README.md | 4 years ago | |
package-lock.json | 4 years ago | |
package.json | 4 years ago | |
web-development.md | 4 years ago | |
webpack.config.js | 4 years ago |
Bubble frontend VueJS web application
The initial basis for the bubble-web frontend was Jason Watmore’s wonderfully well-written Vue/Vuex Registration and Login Example. The LICENSE and README.md files for this code are in the vue-vuex-registration-login-example-docs directory.
To use this frontend with a Bubble API:
Build it:
npm install
webpack
In your ${HOME}/.bubble-test.env
file, add this line (fix the path to point to the correct location of your bubble-web/dist
directory):
export BUBBLE_ASSETS_DIR=/path/to/bubble-web/dist
In the bubble/bubble-server
directory, run the test named bubble.test.dev.DevServerTest
, which will run the API and perform initial activation.
mvn -Dtest=bubble.test.dev.DevServerTest test
You can now test the frontend. If you make changes to the frontend code, you can simply run webpack
again and reload the page in your browser.