- Install dependencies
npm install --save-dev cheerio glob
# or
yarn add -D cheerio glob
- Create the file
extract-i18n-json.js
in the project's root directory
npm install --save-dev cheerio glob
# or
yarn add -D cheerio glob
extract-i18n-json.js
in the project's root directory<template> | |
<div class="cmp-injected-script"> | |
<div id="script-placeholder"></div> | |
</div> | |
</template> | |
<script> | |
export default { | |
props: { | |
attrs: { |