Giter VIP home page Giter VIP logo

Comments (8)

lzxb avatar lzxb commented on July 30, 2024

开发环境你使用的是不是 TS,生产环境使用的是不是JS?
TS编译成JS的时候,目录的位置发生了变化。

from gez.

yali213 avatar yali213 commented on July 30, 2024

是的,目录位置是发生了改变,导致我找不到那个template文件,那我需要怎么写呢?

from gez.

yali213 avatar yali213 commented on July 30, 2024

image
我尝试了这样,但是不成功,html文件这样就不会被打包到/ssr-genesis/serve下面了

from gez.

lzxb avatar lzxb commented on July 30, 2024

build的时候,使用ts来编译执行就可以了。

from gez.

yali213 avatar yali213 commented on July 30, 2024

???大佬,我,终极菜鸡,没懂啥意思哇,可以说的再白一点,最好给个示例说的,跪谢

from gez.

lzxb avatar lzxb commented on July 30, 2024

你可以看下这个编译的脚本
https://github.com/lzxb/vue2-demo/blob/master/build.sh

from gez.

yali213 avatar yali213 commented on July 30, 2024

get

from gez.

lzxb avatar lzxb commented on July 30, 2024

问题解决了吗?

from gez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.