Skip to content

vinithpatel/vue-template

Repository files navigation

Widget Template with Vue, VueX & Vuetify

Installation

Get the sources

You can download the template zip and unzip it wherever you prefer.

Install the development dependencies

Open a terminal in the location you've put the downloaded / cloned sources, then:

npm install

Start the Widget

npm start

For further documentation, installation, configuration, please refer to the Widget Template Vue.js light documentation

Introduction

This widget is an extension of Widget Template Vue.js light.

This template is meant to ease the development of 3DDashboard Widgets.

Screen Capture

With this template we focused on having the best possible development experience compatible with the 3DDashboard infrastructure. Hence we provide not only a code sample but a full development environment based on widgets & web development best practices:

  • Continuous Integration (GitLab CI)
  • Build with bundling (webpack)
  • Linting (eslint) and formatting (Prettier)

Using this environment has many advantages :

  • Ability do develop outside of the 3DDashboard
  • Hot & Live Reload: as soon as you modify a file, the change is applied in your web browser without a single action (even if your 3DEXPERIENCE Platform is on the cloud)
  • Compliance with the latest front-end technologies (it's time to forget jQuery!)
  • Ability to use the browser's debugger even in "modules"

Basically, you will be able to develop a widget like any other web application!

But that comes with a small price: some setup is required...

Added features (from light version)

We added these development best practices:

  • Continuous Integration (GitLab CI)

Also, we added some good frameworks:

  • Vuetify - This UI Framework will drastically save your time. Nevertheless, it's optional so feel free to remove the dependency and use your favorite.
  • Vuex - The state management library for Vue.js.

All commands

Command Description
npm run start Build app continuously and serve @ http://localhost:8081/widget
npm run startS3 Build app continuously to /dist/ and serve through AWS S3
npm run build Build app to /dist/
npm run devtools Open the devtools
npm run lint Run ESLint
npm run lintFix Run ESLint and fix issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published