mirai-assets
v3.0.92
Published
Common assets for the Mirai Engine projects
Downloads
158
Readme
mirai-assets
Common assets for mirai booking react projects.
The project spreads all the changes made on the files in the css folder to the mirai-assets/dist folder of mirai-engine, mirai-client-form and mirai-reservation-confirmation projects.
npm deploy
- Run "npm adduser" to setup the user on your computer.
- Update package version: "npm version [ | major | minor | patch]"
- Run "npm publish" to publish the project on npm.
Migration Process
On every mirai project:
- Run "npm install --save mirai-assets".
- Change all references to
icons.css common-styles.css bootstrap-grid.css
to:
mirai-assets/dist/icons.css mirai-assets/dist/common-styles.css mirai-assets/dist/bootstrap-grid.css
and all references to
bootstrap.css
to
mirai-assets/dist/bootstrap.css
- Update webpack config
Change all references to
path.join(__dirname, 'app/css/bootstrap.css')
to
path.join(__dirname, 'node_modules/mirai-assets/dist/bootstrap.css')
FOR USERS
- Install the package : npm install --save mirai-assets
- Synchronize with last changes: npm update mirai-assets