npm.io
1.4.2 • Published 2 years ago

fcad-core-ninja

Licence
Version
1.4.2
Deps
7
Size
909 kB
Vulns
21
Weekly
0

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-ninja
Use in project

Now in your main.js do

import FcadCoreNinja from 'fcad-core-ninja' 

Vue.use(FcadCoreNinja, {$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