|
před 4 roky | |
---|---|---|
src | před 4 roky | |
vue-vuex-registration-login-example-docs | před 5 roky | |
.babelrc | před 4 roky | |
.gitignore | před 4 roky | |
LICENSE.md | před 4 roky | |
README.md | před 4 roky | |
package-lock.json | před 4 roky | |
package.json | před 4 roky | |
web-development.md | před 4 roky | |
webpack.config.dev-example.js | před 4 roky | |
webpack.config.js | před 4 roky |
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.