SYMBIO/next-devstack

Create blocks script issues

Sklico opened this issue · 1 comments

I noticed several issues while using createBlocks script:

  • const models = require('../../../../../src/models.json'); - bad path to models.json file, it works with const models = require('../../../../src/models.json');
  • dist in paths to templates - in dist folder, there is no data folder, dist in path is wrong
  • blockTemplate.tsx.tpl - bad imports and use of non existing files:
    import { AppContextProps } from '@symbio/headless/dist/types/appContext'; import { OmitRefType } from '@symbio/headless/dist/types/app';

Fixed in [v1.0.0-canary.118]