Libraries-state.json disappeared after upgrade slicemachine to v1

Hello Prismic!
I just updated slicemachine in my project (nuxt2), and I realized that libraries-state.json is disappeared.

Previously, page/slice-simulator.vue was using .slicemachine/libraries-state.json file but now it's deleted. Should I create it manually ?

Here is my previous page/slice-simulator.vue file just for your information.

  <SliceSimulator v-slot="{ slices }" :state="state">
    <SliceZone :slices="slices" :components="components" />

import { SliceSimulator } from '@prismicio/slice-simulator-vue'
import state from '@@/.slicemachine/libraries-state.json'
import { components } from '@@/shared-slices'

export default {
  layout: 'empty',
  components: {
  data() {
    return { state, components }

npx @slicemachine/init@latest command doesn't help to generate libraries-state.json :frowning:

Thanks in advance!

Hello @woolim,

Thanks for reaching out to us!

Here's a similar thread where this issue was solved; you can check it out below:

Give it a try, and let me know if you need further assistance.


1 Like