Horje
storybook absolute paths Code Example
storybook absolute paths
const path = require('path');
module.exports = {
  ...other settings....,

  webpackFinal: async (config) => {
    config.resolve.modules = [
      ...(config.resolve.modules || []),
      path.resolve(__dirname, "../src"),
    ];

    return config;
  },

}

// Then add this in your tsconfig.json/jsconfig.json
{
......
    "compilerOptions": {
        .....
        "baseUrl": "./src"
    }
}
storybook absolute paths
{
...,
 "baseUrl": "./src/",
}
storybook absolute paths
const path = require('path');

module.exports = {
  ...other settings....,

  webpackFinal: async (config) => {
    config.resolve.modules = [
      ...(config.resolve.modules || []),
      path.resolve(__dirname, "../src"),
    ];

    return config;
  },

}




Javascript

Related
jquery input change while typing Code Example jquery input change while typing Code Example
cube camera three js Code Example cube camera three js Code Example
read file size javascript Code Example read file size javascript Code Example
bind and unbind jquery validation Code Example bind and unbind jquery validation Code Example
how much html and css before javascript Code Example how much html and css before javascript Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11