How to use the vue-i18n-locale-message.squeeze function in vue-i18n-locale-message

To help you get started, weโ€™ve selected a few vue-i18n-locale-message examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github antfu / i18n-ally / src / core / loaders / VueSfcLoader.ts View on Github external
async load () {
    const filepath = this.filepath
    Log.info(`๐Ÿ“‘ Loading sfc ${filepath}`)
    const doc = await workspace.openTextDocument(this.uri)
    const meta = this._meta = squeeze(Global.rootpath, this.getSFCFileInfo(doc))
    this._parsedSections = meta.components[filepath]

    this.updateLocalesTree()
    this._onDidChange.fire(this.name)
  }

vue-i18n-locale-message

i18n locale messages management tool / library for vue-i18n

MIT
Latest version published 2 years ago

Package Health Score

47 / 100
Full package analysis

Popular vue-i18n-locale-message functions