2.0.0-beta.1 • Published 4 months ago

fcad-core-dragon v2.0.0-beta.1

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

fcad-core-ninja

Project setup

npm install

How to use

Install in project

In your project install this library by doing :

npm install fcad-core-dragon

Use in project

Now in your main.js do

import FcadCoreDragon from 'fcad-core-dragon' 

Vue.use(FcadCoreDragon, {$options}) 

$options Parameters

$options to pass to library are:

  • i18n: pass project internationalization / Localisation reference to library
  • router: pass project router reference library
  • appSettings: pass project app setting from './app.settings.js'
  • menuSettings: pass project menu settings './src/menu.settings.js'

In the components of your project you can now use the components of the library

//Exemple in App.js of your project use component AppBase of Library 
<app-base/>

For more information check documentation

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Configurations

Get the configurations files from FCAD ressources and add them in the root of your projects. .Zip containts:

  1. Vue.config.js
  2. .editorconfig
  3. .gitignore
  4. .eslintrc
  5. .eslintignore
  6. .prettierrc.js