Comments (8)
开发环境你使用的是不是 TS,生产环境使用的是不是JS?
TS编译成JS的时候,目录的位置发生了变化。
from gez.
是的,目录位置是发生了改变,导致我找不到那个template文件,那我需要怎么写呢?
from gez.
我尝试了这样,但是不成功,html文件这样就不会被打包到/ssr-genesis/serve下面了
from gez.
build的时候,使用ts来编译执行就可以了。
from gez.
???大佬,我,终极菜鸡,没懂啥意思哇,可以说的再白一点,最好给个示例说的,跪谢
from gez.
你可以看下这个编译的脚本
https://github.com/lzxb/vue2-demo/blob/master/build.sh
from gez.
get
from gez.
问题解决了吗?
from gez.
Related Issues (20)
- 又整理了些新的问题,希望大大能解决下。 HOT 3
- 大佬,问下生产环境如何部署?没搞过linux,实在是不会! HOT 2
- 在服务端接口请求API出错,想要跳转页面如何处理呢? HOT 1
- 突然发现 favicon.ico 会自动加载成路由,而不是图标 HOT 3
- 请问JS优化压缩怎么操作?或有什么方法吗? HOT 3
- genesis怎么调试 HOT 5
- 你好 有维护版本更新记录吗 现在想更不知道更新到哪个新版本 稳定 谢谢~ HOT 6
- 想问下,提供的功能块是否有浏览器兼容性要求,我在尝试时,对于IE浏览器并不友好,另外能否提供一个更全面点的demo HOT 1
- 2.0版本没有genesis-remote这个组件了?前端怎么调用 HOT 7
- 客户端渲染是否就不是微服务了。 HOT 7
- 关于Node端实现module federation,父子服务的关系 HOT 5
- 大佬求助,1.x升级到2.1出错 HOT 12
- 大佬,关于VueSSRServerPlugin为什么要自己去实现? HOT 2
- 2.1.0 build 发布求助 HOT 5
- 由于无法使用createBundleRenderer,没有vue ssr自带沙箱机制。应该怎么清除setTimeout之类的副作用 HOT 3
- 大佬您好,关于styleTagExtractCSS不包含其他UI库CSS HOT 8
- Webpack hot reload error
- 大佬救命!升级到2.3 HOT 3
- english docs HOT 1
- error in examples when `yarn install` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gez.