writing()

in generators/frontend/index.js [38:59]


  writing() {
    if (!this.props.withFrontend) {
      return;
    }
    this.log(`🎨 Creating frontend...`);

    this.fs.copyTpl(
      this.templatePath("src/frontend"),
      this.destinationPath("src/frontend"),
      this.props
    );
    this.fs.write(
      this.destinationPath("src/frontend/.python-version"),
      this.props.pythonVersion
    );
    if (this.props.solutionLevel == 100) {
      this.fs.copy(
        this.templatePath("src/frontend/.dockerignore"),
        this.destinationPath("src/frontend/.dockerignore")
      );
    }
  }