1.0.17 • Published 3 years ago
commons-poliglota-test v1.0.17
NPM Commons Poliglota
This is a NPM package for commons assets used in frontend app's of Poliglota.
Quick start
Installing
Using npm:
$ npm install npm-commons-poliglota
Use in Vue app's
If you use vue-cli
only need add this lines in main.js
file.
import 'commons-poliglota-test/dist/css/main.css'
import 'commons-poliglota-test/dist/js/main.js'
Development
if you need to add new files or libraries, please follow the steps below:
- In
src
folder existing two files,index.js
andscss/custom.scss
. - Add in this files the references to new files or libraries.
- Optionally, you can modify
webpack.config.js
to add new rules for compiling assets. - And finally, run
npm run build
to compile assets indist
folder.